utcTime

number utcTime(timestamp, timeZone)

Returns the timestamp adjusted from the specified time zone to UTC time.

Parameters

  1. timestampunix timestamp in time zone.
  2. timeZone — optional time zone of timestamp, default is local time zone.

Returns