LDAP, Active Directory & Filetime Timestamp Converter

There are at least 2 types of LDAP timestamps, an 18 digit timestamp and a timestamp that is based on a Year-Month-Day-format.

Convert 18-digit LDAP/FILETIME timestamps to human-readable date

The 18-digit Active Directory timestamps, also named 'Windows NT time format', 'Win32 FILETIME or SYSTEMTIME' or NTFS file time. These are used in Microsoft Active Directory for pwdLastSet, accountExpires, LastLogon, LastLogonTimestamp, and LastPwdSet. The timestamp is the number of 100-nanosecond intervals (1 nanosecond = one billionth of a second) since Jan 1, 1601 UTC.

The current LDAP/Win32 FILETIME is  133783874990000000 or in scientific notation 13378387499e7

 
Enter number in full or in scientific/exponential notation:
Milliseconds are discarded (last 7 digits of the LDAP timestamp)

 
 

Create a 18-digit LDAP timestamp

MonDayYr
// 
HrMinSec
 :  :  
 

 

Other converters & programming

Microsoft Windows

In Windows (command line) use:

w32tm.exe /ntte 131001091660000000

PowerShell

(Get-Date 1/1/1601).AddDays(131001091660000000/864000000000)

 

Convert YMD LDAP timestamps

These LDAP timestamps are much more simple and start with the year. The timestamp has the following format: YYYYMMDDHHMMSST. T is the time zone which is usually 'Z' (Zulu Time Zone = UTC/GMT). The tool below can only handle Zulu timestamps.

The current YMD timestamp is 20241211104459Z

Enter your timestamp:

 
 


Comments and questions