OCLOperators formatDateTime
(Automatically adding template at the end of the page.)
(Adding message template to the top of the page)
Line 1: Line 1:
{{message|Write the content here to display this box}}


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]

Revision as of 22:24, 16 June 2024

This page was created by Lars.olofsson@mdriven.net on 2019-03-11. Last edited by Edgar on 2025-01-20.

Write the content here to display this box

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