Category: Date and Time function
This function converts a UTC date-time into a local date-time.
Argument | Type | Description |
---|---|---|
date | Date or Number (date serial) | An expression representing a date. The UTC date-time value to convert to a local date-time value. |
Return value type: Number (date-time serial)
The date argument can take any value or expression that evaluates to a date serial value. Examples include:
format( localtime(#2019-01-01), 'yyyy-MM-dd' ) //Returns '2018-12-31' (Executed in the EST zone (UTC-05:00))