DateExtensions extension

on

Properties

dayDifference int

Available on DateTime, provided by the DateExtensions extension

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

Available on DateTime, provided by the DateExtensions extension

return true if the date is today
no setter
isTomorrow bool

Available on DateTime, provided by the DateExtensions extension

return true if the date is Tomorrow
no setter
isYesterday bool

Available on DateTime, provided by the DateExtensions extension

return true if the date is Yesterday
no setter

Methods

tomorrow() DateTime

Available on DateTime, provided by the DateExtensions extension

next day
toServerFormat() String

Available on DateTime, provided by the DateExtensions extension

Returns an ISO-8601 full-precision extended format representation.
yesterday() DateTime

Available on DateTime, provided by the DateExtensions extension

previous day