
There are several ways to go around this in order to get a human readable timestamp in Tableau. The timestamp is the count of 100-nanosecond intervals since UTC. Since they are widely used we can find them in various Active Directory attributes such as ‘LastLogonTimestamp’, ‘LastPwdSet’ etc. The 18-digit Active Directory timestamps, are also named as ‘Windows NT time format’, ‘Win32 FILETIME’ or ‘Win32 SYSTEMTIME’ or ‘NTFS file time’. If you find yourself intrigued by the subject, you can check out more Notable epoch dates in computing.

#Unix epoch windows
Microsoft Windows considers its Epoch Time as starting from January 1, 1601, while Unix and Linux Systems consider their Epoch Time as starting from January 1, 1970. To name a few, apple macOS considers its Epoch Time as starting from January 1, 1904. Well, it turns out that there are quite a few timestamps to choose from. In a recent project I was exploring LDAP/Windows Active Directory time stamps and stumbled upon an 18-digit timestamp such as this: 132802481539115672. Sometimes though, we get very weird Unix timestamps that doesn’t make sense. It may well be that we get a 13-digit Unix time, and in this case we will divide it by 1000 first as in: DATEADD('second', INT(/1000), #)Īlso note that the DATEADD() function requires the second argument to be a number and since in most times we get it in a string format we will have to convert the to an integer. Note that the calculation assumes that the Unix time is in seconds. To convert this to UTC time in Tableau, we can use the following calculation: DATEADD('second', INT(), #) It is usually the case that we want to convert these timestamps to a human readable format, so let us examine a few examples to convert Unix time in Tableau.Īs mentioned, a 10-digit number represent the Unix epoch time in seconds. Since computer applications make extensive use of this feature, it is quite normal to get these kind of time stamps. This count starts at the Unix Epoch on January 1st, 1970 at UTC, and at this very moment, the Unix epoch time is 1645179588. The unix time stamp is a way to track time as a running total of seconds. In computer applications, epochs are used to maintain a time reference as a single number for ease of computation. For astronomers, it is the time at which observations are made, as of the positions of planets or stars. These are a few of the definitions for the fancy word ‘epoch’. The beginning of a new and important period in the history of anything… A milestone.

A particular period of history, especially one considered remarkable or noteworthy…
