Skip to content
Advertisement

How to convert UNIX epoch seconds to Timestamp in Snowflake?

I could not find any function in snowflake docs that can do this.

Advertisement

Answer

If I understand what you mean correctly it appears to be:

TO_TIMESTAMP( epoch_sec )

This is the reference. There’s variations for time zone support too.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement