FMDate
This object accepts the date as a double
and returns the date in the specified format.
For example, date(13453556,"YYYY-MM-DD")
returns the date value in the format "YYYY-MM-DD".
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.