Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

How to convert 18 digit time stamp to readable format

markthor123
6 - Meteoroid

The 18-digit Active Directory timestamps, also named 'Windows NT time format' and 'Win32 FILETIME or SYSTEMTIME'. These are used in Microsoft Active Directory for pwdLastSet, accountExpires, LastLogon, LastLogonTimestamp, and LastPwdSet.   I would like to convert this date into something that is readable. 

 

For example, I have 130256633677812490 which should turn into GMT: Monday, October 7, 2013, 11:49:28 PM. 

 

How can I achieve this in Alteryx?

2 REPLIES 2
patrick_digan
17 - Castor
17 - Castor

@markthor123 Try this in a formula tool:

 

DateTimeAdd("1601-01-01",[Field1]/10000000+1,"seconds")
markthor123
6 - Meteoroid

That worked like a charm!  Thank you @patrick_digan for your quick response!

Labels