OCLOperators formatDateTime
(Automatically adding template at the end of the page.)
(Updated Edited template to July 12, 2025.)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<message>Write the content here to display this box</message>


Refer to this page on custom [https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings .net date format strings]
Refer to this page on custom [https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings .net date format strings]
Line 11: Line 12:
formatDateTime('week') returns the Iso8601 week number of the year
formatDateTime('week') returns the Iso8601 week number of the year
[[Category:OCLOperators]]
[[Category:OCLOperators]]
{{Edited|July|12|2024}}
{{Edited|July|12|2025}}

Latest revision as of 05:57, 20 January 2025

This page was created by Lars.olofsson@mdriven.net on 2019-03-11. Last edited by Edgar on 2025-01-20.


Refer to this page on custom .net date format strings

Example:

formatDateTime('yyyy-MM-dd HH:mm:ss')

Is the ISO-8601 date format

Example, 24h version:

formatDateTime('yyyy-MM-dd HH:mm:ss')

formatDateTime('week') returns the Iso8601 week number of the year