Category: Date and Time function
This function converts a local date/time into a UTC date/time.
Argument | Type | Description |
---|---|---|
date | Date or Number (date serial) | An expression representing a date/time to generate the UTC date/time from. |
Return value type: Date serial number
The date argument can take any value or expression that evaluates to a date serial value. Examples include:
utctime(#2019-01-01) //Returns 43466.2083333333 (Equivalent to 2019-01-01 5:00 AM.)
format( utctime(#2019-01-01), 'yyyy-MM-dd HH:mm' ) //Returns '2019-01-01 5:00'
Executed in the Eastern Standard Time zone (UTC-05:00)