OCLOperators formatDateTime
No edit summary
No edit summary
Line 5: Line 5:
  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
formatDateTime('week') returns the Iso8601 week number of the year

Revision as of 12:38, 17 September 2021

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