I have dates like 54940,55001,54970 etc. I need to convert these dates into yyyy-MM-dd format in snowflake
Asked
Active
Viewed 1,667 times
-1

Marcel
- 2,454
- 1
- 5
- 13

Neha Nayal
- 21
- 4
-
1And what's your question about this? What have you tried, where are you stuck? – Nico Haase Sep 28 '20 at 07:33
1 Answers
-1
The following steps should help:
- Convert the julian to a gregorian date with a function (the conversion depends on your understanding of a julian date - there are different ones. If you try to google that, you may find several conversion rules)
- Convert the string/integer to a date by using TO_DATE() https://docs.snowflake.com/en/sql-reference/functions/to_date.html

Marcel
- 2,454
- 1
- 5
- 13