DateTimeXX extension

on

Properties

daysAgo int
no setter
daysApart int
no setter
hasTime bool
no setter
hoursAgo int
no setter
monthsAgo int
no setter
monthsApart int
no setter
yearsAgo int
no setter
yearsApart int
no setter

Methods

atStartOfDay() DateTime
atTime([int hour = 0, int minute = 0, int second = 0]) DateTime
sinceNow() Duration
withoutTime() DateTime