Last updated
Was this helpful?
Last updated
Was this helpful?
sourceTimezone: The time zone of the timestamp. If you omit this parameter, Spice assumes that the source time zone is UTC.
destinationTimezone: The time zone to convert the timestamp to.
timestamp: The timestamp to convert.
Examples
The sourceTimezone
and destinationTimezone
parameters may be timezone_name
from sys.timezone_names
, timezone_abbrev
from sys.timezone_abbrevs
, or a UTC time offset such as “+02:00”.
If you specify a time zone name instead of time offset, you may get a different answer depending on when you call this function due to daylight saving time.
Convert timestamp to the specified timezone.