Timestamp converter
Paste a number to see it as Unix time in seconds or milliseconds, a Windows FILETIME, a Chrome time, an Apple time or an Excel date, each as a date in UTC and in your time zone. Or type a date and time to get all of them. MS-DOS dates have their own boxes below.
MS-DOS date and time
An MS-DOS date and an MS-DOS time are two 16-bit words. The date holds the day (bits 0 to 4), the month (bits 5 to 8) and the year from 1980 (bits 9 to 15); the time holds the seconds divided by 2 (bits 0 to 4), the minutes (5 to 10) and the hour (11 to 15). FAT disks keep such times in the local time of the computer, and write times to 2 seconds.
The formats
| Format | Counts | From | Where |
|---|---|---|---|
| Unix time, seconds | Seconds | 1970-01-01 00:00:00 UTC | Linux and other Unix systems. |
| Unix time, milliseconds | Milliseconds | 1970-01-01 00:00:00 UTC | JavaScript's Date. |
| Windows FILETIME | 100-nanosecond intervals | 1601-01-01 00:00:00 UTC | Windows file times. |
| Chrome time | Microseconds | 1601-01-01 00:00:00 UTC | Chrome's own time value, which it stores in its databases. |
| Apple absolute time | Seconds, with a fraction | 2001-01-01 00:00:00 UTC | Apple's Core Foundation time (CFAbsoluteTime). |
| Excel date, 1900 system | Days, with the time as a fraction | 1 is 1 January 1900 | No time zone. 1900 counted as a leap year. |
| Excel date, 1904 system | Days, with the time as a fraction | 0 is 1 January 1904 | No time zone. |
| MS-DOS date and time | Two 16-bit words | Years from 1980 | FAT disks. No time zone; seconds in steps of 2. |
- The page counts every day as 86,400 seconds, as JavaScript does; Unix time leaves out leap seconds too, so they do not exist in these numbers. It handles dates up to 100,000,000 days either side of 1970, the range of a JavaScript date.
- FILETIME and Chrome time start at the same moment, 1 January 1601 UTC, 11,644,473,600 seconds before Unix time. A FILETIME is ten times a Chrome time.
- Apple's absolute time is a number of seconds, with a fraction, from 1 January 2001 UTC: Unix time minus 978,307,200.
- Excel stores a date as a number of days and a time as the fraction of a day. In the 1900 date system, the default of Excel for Windows, 1 is 1 January 1900; in the 1904 system, 1 is 2 January 1904. They differ by 1,462 days. Excel takes 1900 for a leap year, as Lotus 1-2-3 did, so 60 is 29 February 1900, a day that never was; because of it the WEEKDAY function is wrong for dates before 1 March 1900. The page counts serials the way Excel does. The last date of both systems is 31 December 9999.
- Excel and MS-DOS values hold no time zone. When you type a date, the page writes them for the time as you typed it; when you paste one, it shows the time without a zone.
- For the timestamps of Active Directory, such as lastLogonTimestamp, accountExpires and whenCreated, see the AD timestamp converter.
Sources
- Unix time: the time(7) and time(2) manual pages (man-pages at commit ae6b221); the range and the days of 86,400 seconds: the ECMAScript specification, Time Values and Time Range (ecma262 at commit 7cff4af).
- FILETIME, MS-DOS dates and FAT times: Microsoft's pages File Times and MS-DOS Date and Time (win32 at commit bc82a65) and FILETIME and DosDateTimeToFileTime (sdk-api at commit 656e965), used under the Creative Commons Attribution 4.0 International licence (creativecommons.org/
licenses/ by/ 4.0/). - Chrome time: Chromium's base/time/time.h and sql/statement.cc (chromium at commit 35aeee9, BSD licence). Apple time: CFDate.h and CFDate.c of swift-corelibs-foundation (at commit f41070b, Apache 2.0 licence).
- Excel dates: Microsoft's support articles Date systems in Excel and Change the date system, format, or two-digit year interpretation (read on 24 Nov 2026), and Excel incorrectly assumes that the year 1900 is a leap year (SupportArticles-docs at commit d857f39). The two support articles disagree on the default of Excel for Mac; the page names only the default for Windows.
More Logs tools
-
Access log checker
Find the exploit requests in a web server log and the addresses that sent them.
-
Windows security event ID lookup
Look up 4740, 4625, 4728, 1102 or any other Security log event: its meaning, audit setting and criticality.
-
Event log query builder
Pick a log, event IDs, levels and a time span: the XPath, the custom view XML and the Get-WinEvent command.
-
auditpol command builder
Choose what each audit subcategory logs, or start from Microsoft's baseline: the auditpol commands, with GUIDs.
-
Sysmon event ID lookup
Every Sysmon event ID with its filter tag and fields, and a reader for an event pasted from Event Viewer.
-
Windows Firewall log reader
Open pfirewall.log: its lines as a table, the drops by port and address, and the commands that turn logging on.
-
Schannel and TLS alert code lookup
Read Schannel events 36887 and 36888 and TLS alerts such as 40, 46, 48 and 70.
-
IIS status codes and log line reader
Look up 500.19, 403.14 or any other IIS status and substatus, or read W3C log lines field by field.
-
Syslog PRI calculator
Read the facility and severity in a syslog priority such as <134>, or build one from local0 to local7.
-
Scanner watch
What attack tools ask of this site's web server: the addresses, the paths and the networks, rebuilt each day.