OCLOperators formatDateTime
No edit summary
(Updated Edited template to July 12, 2025.)
 
(10 intermediate revisions by 5 users 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]


Example:  
'''Example:'''
  formatDateTime('yyyy-MM-dd hh:mm:ss')
  formatDateTime('yyyy-MM-dd HH:mm:ss')
Is the ISO-8601 date format.
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
[[Category:OCLOperators]]
{{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