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


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

MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments