0

I need your help in converting this event_time to an ASCII SQL formated datatype. A little background: This data was retrieved from a Hadoop Hive data source using Tableau. Also, I was told it's a unix timestamp. I have some extensive research done but seem to not be able to find any solution.

SELECT converted(event_time) from tablename; 

event_time
1610629690320
1610629939669
1610630516715
1610633038207
1610633886798
1610633991600
1610635895132
1610636069966
1610636135413
jarlh
  • 42,561
  • 8
  • 45
  • 63

1 Answers1

0

How to convert unix-timestamp to datetime in Tableau

Create a calculated field:
DATEADD('second', INT([event_time]/1000),#1970-01-01#)

Reference:
https://kb.tableau.com/articles/issue/dates-display-unix-epoch-instead-of-date-datetime?_ga=2.128232396.1788694263.1612488670-1032121342.1608670166

Fosstin
  • 141
  • 4