- formatDate
Converts a date/time value to a string, using the format dd-mmm-yyyy hh:mm.
Because we cannot determ
- parseDate
Attempts to parse an input value using one of several patterns.
- formatAge
Returns age as a formatted string expressed in days, months, or years,
depending on whether person
- stripTime
Strips the time component from a date.
- formatDuration
Formats a duration in ms to the specified accuracy.
- addDays
Adds specified number of days to date and, optionally strips the time component.
- formatElapsed
Return elapsed time in ms to displayable format with units.
- getLocalTimeZone
Returns the user's time zone.
- hasTime
Returns true if the date has an associated time.
- now
Returns a date with the current time.
- toDate
Converts day, month, year and time parameters to a date.
- today
Returns a date with the current day (no time).