DateExtensions extension

on

Properties

dayDifference int
If value is NULL returns Null Else returns the difference between current date and the object in days excluding the the time values
no setter
isToday bool
return true if the date is today
no setter
isTomorrow bool
return true if the date is Tomorrow
no setter
isYesterday bool
return true if the date is Yesterday
no setter

Methods

tomorrow() DateTime
next day
toServerFormat() String
Returns an ISO-8601 full-precision extended format representation.
yesterday() DateTime
previous day