OCLOperators formatDateTime
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
'''Example:''' | '''Example:''' | ||
formatDateTime('yyyy-MM-dd | formatDateTime('yyyy-MM-dd HH:mm:ss') | ||
Is the ISO-8601 date format | Is the ISO-8601 date format | ||
Revision as of 16:26, 15 October 2023
This page was created by Lars.olofsson 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