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 - Series

Snowflake Vs MS-SQL - Part 79 - Adding a comment to the Column of a Table

Snowflake Vs MS-SQL - Part 75 - String Length and Trimmed Length