Skip to main content

FieldLogs

FMOptionalFormatedDate

This object returns the date in the specified format. If there is not data, the object returns an empty string.

Any standard date format can be used. A few examples are listed below:

Pattern

Result

MM/dd/yyyy

01/02/2022

dd-M-yyyy hh:mm:ss

02-1-2022 06:07:59

dd MMMM yyyy zzzz

02 January 2022

E, dd MMM yyyy HH:mm:ss z

02 January 2022 India Standard Time

Note

This object reflects the date of the local browser, not the FieldLogs Server.