to_date()
Usage
to_date(number)
Description
Converts the given number into a date.
The number is interpreted as UNIX timestamp (milliseconds from Jan. 1, 1970).
Example
${to_date(1473201885000)}
both result in
2016-09-06T22:44:45+0000
You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.
Usage
to_date(number)
Description
Converts the given number into a date.
The number is interpreted as UNIX timestamp (milliseconds from Jan. 1, 1970).
Example
${to_date(1473201885000)}
both result in
2016-09-06T22:44:45+0000
Converts the given number into a date object.
The number is interpreted as UNIX timestamp (milliseconds from Jan. 1, 1970).
to_date(number)