This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
token:ICUDateTime [2021/10/19 22:58] peternlewis |
token:ICUDateTime [2023/01/03 00:19] (current) ccstone |
||
---|---|---|---|
Line 9: | Line 9: | ||
* %**ICUDateTime**%*[output date format]*% | * %**ICUDateTime**%*[output date format]*% | ||
* Returns the current date and time in the specified format. | * Returns the current date and time in the specified format. | ||
+ | * Example: ''%ICUDateTime%EEE, MMM d, yyyy h:mm%'' ⇢ //Mon, Jan 2, 2023 11:17// | ||
+ | |||
* %**ICUDateTimeFor**%*[unixtime]*%*[output date format]*% | * %**ICUDateTimeFor**%*[unixtime]*%*[output date format]*% | ||
* Returns Date/Time specified by the [[:unixtime]], in the user's local time zone. | * Returns Date/Time specified by the [[:unixtime]], in the user's local time zone. |