Table of Contents

UTCTime(date)

Category: Date and Time function


Description

This function converts a local date/time into a UTC date/time.


Arguments

ArgumentTypeDescription
dateDate or Number (date serial)An expression representing a date/time to generate the UTC date/time from.

Return value type: Date serial number


Remarks

The date argument can take any value or expression that evaluates to a date serial value. Examples include:


Examples

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)