Date and time · date formatsFILETIME to date and Active Directory timestamps

FILETIME is an 18-digit count of 100-nanosecond intervals since 1 January 1601. Windows stores file times this way, and Active Directory keeps lastLogonTimestamp, pwdLastSet and accountExpires in it. Paste the number, a hex value or a dwHigh/dwLow pair to get the UTC date at full precision.

Calculated in your browser — values are never sent anywhere
01Converter02How it works03Values04Mistakes05Questions06Other formats07Related
01

Converter

both ways — paste a value or a date
Value → date
UTC2026-10-03T12:00:00.0000000Z
Moscow (UTC+3)2026-10-03 15:00:00
hex0x01DD532EB74F2000
decimal134355024000000000
Date → value
decimal134355024000000000
hex0x01DD532EB74F2000
dwHigh / dwLow31281966 3075416064
02

How the format works

part by part, on an example
About the format

FILETIME is a 64-bit integer: the number of 100-nanosecond intervals since midnight UTC on 1 January 1601. The year starts a 400-year Gregorian cycle, which keeps leap-year arithmetic simple.

The same number sits in Active Directory attributes: lastLogonTimestamp, pwdLastSet, badPasswordTime, accountExpires. Get-ADUser and ADSI Edit show it as 18 digits, a debugger as 0x01DC…, and a Win32 structure as the pair dwHighDateTime and dwLowDateTime.

Two values are not dates. 0 means “not set” (pwdLastSet = 0 forces a password change at logon), and 9223372036854775807 in accountExpires means “never expires”. Turning them into the year 1601 or 30828 is a common script bug.

Part by part134355024000000000
134355024000000000
100-nanosecond intervals since 1601-01-01 00:00 UTC — 3 October 2026, 12:00
÷ 10,000,000
seconds since 1601
− 11,644,473,600
seconds between 1601 and 1970 — the rest is Unix time
How to do it yourself
[DateTime]::FromFileTimeUtc(134355024000000000)PowerShell and .NET: number → UTC date
(Get-Date).ToFileTimeUtc()PowerShell: the current moment → FILETIME
w32tm /ntte 134355024000000000Windows command line: number → date
03

What it looks like

values you meet in practice
ValueWhat it is
0not set
1164447360000000001970-01-01 00:00:00 UTC
1259115840000000002000-01-01 00:00:00 UTC
1343550240000000002026-10-03 12:00:00 UTC
0x01DD532EB74F20002026-10-03 12:00:00 UTC
9223372036854775807never expires
04

Common mistakes

05

Frequently asked

Paste the 18-digit number from the attribute into the field on this page to get the date in UTC and in Moscow time. In PowerShell, [DateTime]::FromFileTimeUtc(value) does the same, and Get-ADUser -Properties LastLogonDate returns a ready date. Remember the attribute lags by up to two weeks, so it suits finding stale accounts rather than exact sign-in times.
06

Other formats

Excel date45000,75RFC 2822Sat, 03 Oct 2026 14:30:00 +0300UnixUnix time: seconds and milliseconds since 1970 →HubAny date in every format at once →

Updated

«» added to favorites