AT TIME ZONE
Description
Converts an inputdate to the corresponding datetimeoffset value in the target time zone. (AT TIME ZONE in Transact-SQL).
Sample Source Pattern
Syntax
Examples
IN -> SqlServer_01.sql
Result:
Code:
IN -> SqlServer_02.sql
Result:
Known Issues
Snowflake does not support all the time zones that SQL Server does. You can check the supported time zones at this link.
IN -> SqlServer_03.sql
Result:
Related EWIs
Last updated