Command Reference : String and Date Function Reference
  
 
@utc
Syntax: @utc(localtime[, timezone])
Argument 1: date, localtime
Argument 2: string, timezone
Return: date
Returns the Coordinated Universal Time (UTC) value for a point in time input using a local time zone value.
If timezone is not provided, the current Windows time zone setting is used as the local time zone to convert from.
If timezone is provided, the timezone string can either contain raw time zone information in the format returned by the @tzlist function, or it can contain search text (such as a city name) that can be found within one of the time zone descriptions returned by the function @tzspec.
Example:
series utctime = @utc(localtime, "-08:00")
converts a series containing local time values at an 8 hour shift from UTC into a series containing UTC times.
series utctime = @utc(localtime, "Pacific")
converts a series containing local time values in US Pacific Time Zone (including daylight time adjustments) into a series containing UTC.
See “Dates” and “Event Functions” for related discussion.
See also the related time zone functions @localt, @tz, @tzlist and @tzspec.