Snowflake Vs MS-SQL - Part 87 - UTC Time - CONVERT TIMEZONE

         


UTC Time - CONVERT TIMEZONE

Many times you get the time inthe local time zone, but you want to display the same time in UTC Time Zone.

MS-SQL Server 

We can achieve it as follows:



In Snowflakewe can use a similar approach; however, we can use CONVERT_TIMEZONE as follows:



For more details, refer to the CONVERT_TIMEZONE section.


Yogesh Shinde

LinkedInProfile

Comments

Popular posts from this blog

Snowflake Vs MS-SQL - Part 63 - ON Clause & Cross Join

Snowflake Vs MS-SQL - Part 70 - UNION By Name

Snowflake Vs MS-SQL - Part 68 - Multi Table Insert