OCLOperators formatDateTime
No edit summary
(Automatically adding template at the end of the page.)
 
(7 intermediate revisions by 5 users not shown)
Line 2: Line 2:
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|2024}}

Latest revision as of 15:41, 10 February 2024

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

This page was edited 96 days ago on 02/10/2024. What links here