🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
OCLOperators formatDateTime
This page was created by Lars.olofsson on 2019-03-11. Last edited by Edgar on 2025-08-31.


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