OCLOperators formatDateTime
No edit summary
(Replacing message template with parser tag)
 
(6 intermediate revisions by 3 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:  
'''Example, 24h version:'''
  formatDateTime('yyyy-MM-dd HH:mm:ss')
  formatDateTime('yyyy-MM-dd HH:mm:ss')


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}}

Latest revision as of 07:50, 17 June 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 95 days ago on 06/17/2024. What links here