ToUTC
Last updated
Last updated
The ToUTC()
function converts a local date with the given timezone (TZ database name) to a UTC date. You can find the time zones used in wem in the list of IANA Standard Time zones.
This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.
Returns a UTC date.
Returns null
if the time zone argument is not recognized
date
date time
a date value
timezone
text
Full timezone name. You can find the different names in the portal settings.