The date snippet allows formatting of a date and time string.
Parameter | Description |
---|---|
time | The date and time string to format, defaults to now. |
tz | The timezone to use, defaults to the system timezone. |
format | The format required in MySQL DATE_FORMAT, defaults to '%D, %d %M %Y %H:%i:%s %O' |
timeSpan | Set to 1 to show times as an offset from the current time, defaults to 0. |