w_common.timestamp library

Properties

monthDayFormat DateFormat
The format of a month and day with no time of day.
read / write
timeFormat DateFormat
The format of a timestamp with no date.
read / write
weekdayFormat DateFormat
The format of a weekday with no time of day.
read / write
yearMonthDayFormat DateFormat
The format of the full date with no time of day.
read / write

Functions

formatTimeDifference(DateTime time, { DateTime now }) → String
Formats a DateTime into the 'X ago' string format.