Tool Decode & Extract
Timestamp Converter
Convert both ways across 19 timestamp and epoch formats.
Every artifact keeps time its own way. NTFS uses FILETIME, Chrome uses WebKit time, Safari uses Mac Absolute Time, and logs arrive in half a dozen text formats. Get the epoch or the unit wrong and a timeline shifts by hours, years, or centuries without any warning.
This runs in your browser. Nothing you type or open is uploaded.
How to read it
Paste a value and the tool tries every format it knows. Each match that lands between 1940 and 2100 is listed, so a ten-digit number shows up as Unix seconds and as anything else it could be.
Pick the reading that makes sense for the artifact, then check the summary. The weekday and the distance from now are the two quickest signs of a wrong epoch.
FAT/DOS date-time and BSD syslog carry no zone or year of their own. The zone you pick decides what they resolve against, and daylight saving makes one hour a year ambiguous in most zones.
| Format | Epoch | Unit | Seen in DFIR |
|---|---|---|---|
| Unix time (seconds) | 1970-01-01T00:00:00Z | seconds | Linux syslog/auditd, most REST APIs, JWT iat/exp/nbf claims, cron, many log formats |
| Unix time (milliseconds) | 1970-01-01T00:00:00Z | milliseconds | JavaScript Date.now()/getTime(), Java System.currentTimeMillis(), MongoDB, many JSON logs |
| Unix time (microseconds) | 1970-01-01T00:00:00Z | microseconds | Python time.time_ns()/1000, PostgreSQL internal timestamps, Firefox/Thunderbird places.sqlite (PRTime, Mozilla's NSPR type: numerically identical to this format) |
| Unix time (nanoseconds) | 1970-01-01T00:00:00Z | nanoseconds | Go time.UnixNano(), Python time.time_ns(), high-resolution tracing/eBPF tooling, APFS inode timestamps |
| Java / JavaScript epoch time | 1970-01-01T00:00:00Z | milliseconds | JVM/Android application logs, browser console/localStorage artifacts, Node.js logs |
| Python epoch conventions | 1970-01-01T00:00:00Z | seconds (float) | Python-based forensic scripts, Volatility/custom tool output, application logs |
| Windows FILETIME | 1601-01-01T00:00:00Z | 100-nanosecond intervals | NTFS $MFT $STANDARD_INFORMATION/$FILE_NAME MACB timestamps, registry LastWrite, EVTX records, Prefetch, LNK files, Active Directory (lastLogon, pwdLastSet, accountExpires, as "AD/LDAP timestamp") |
| Active Directory / LDAP timestamp | 1601-01-01T00:00:00Z | 100-nanosecond intervals | AD attributes pwdLastSet, accountExpires, lastLogon, badPasswordTime, lockoutTime |
| .NET / C# DateTime.Ticks | 0001-01-01T00:00:00 | 100-nanosecond intervals | .NET/C# application databases, PowerShell Get-Date .Ticks: do not confuse with FILETIME (same tick size, different epoch) |
| OLE Automation Date | 1899-12-30T00:00:00 | days (fractional: integer part is the day, fraction is time-of-day) | VB6/VBA CDbl(Date), classic ASP, .NET DateTime.ToOADate(), XLS/XLSX cell values, CSV exports from spreadsheets |
| FAT/FAT32 directory entry timestamp | 1980-01-01 (packed year offset) | packed 16-bit date + 16-bit time fields, local time, 2-second resolution | FAT12/16/32 volumes (USB drives, SD cards, embedded/IoT media), some legacy ZIP archive entries |
| HFS+ timestamp | 1904-01-01T00:00:00Z | seconds | Mac OS Extended (HFS+) volume catalog timestamps, Time Machine, drives predating the APFS transition (2017) |
| Classic Mac OS HFS timestamp | 1904-01-01T00:00:00, in LOCAL time | seconds | Legacy HFS (Mac OS 9 and earlier) volumes, rare today |
| Mac Absolute Time (Cocoa) | 2001-01-01T00:00:00Z | seconds (some newer fields use nanoseconds at the same epoch) | Safari History.db, macOS/iOS plist NSDate fields, Core Data-backed apps (Messages, Notes, Photos.sqlite, Health) |
| APFS timestamp | 1970-01-01T00:00:00Z | nanoseconds | APFS inode MACB timestamps (macOS 10.13+ / iOS default filesystem), Time Machine on Big Sur+ |
| ext2/ext3 inode timestamp | 1970-01-01T00:00:00Z | seconds (signed 32-bit) | ext2 (older Linux, some boot/EFI partitions), ext3 (older distros, embedded Linux/NAS) inode timestamps |
| ext4 extended inode timestamp | 1970-01-01T00:00:00Z (extended past 2038 via 2 borrowed epoch bits) | 32-bit seconds + a 32-bit extra field (2 epoch-extension bits + 30 nanosecond bits) | ext4 i_mtime/i_atime/i_ctime/i_crtime + their _extra fields: Linux server/container/older-Android forensics, timestomping detection |
| Google/Chrome WebKit timestamp | 1601-01-01T00:00:00Z | microseconds | Chrome/Chromium/Edge/Brave History and Cookies SQLite DBs (visit_time, last_visit_time, creation_utc) |
| UUID version 1 timestamp | 1582-10-15T00:00:00Z (the Gregorian calendar reform date) | 100-nanosecond intervals, packed into a 60-bit field | Time-based UUIDs (v1, and v6/v7 variants) in application/database records, log correlation IDs: recoverable creation time plus the generating NIC MAC address |
| GPS time | 1980-01-06T00:00:00 UTC | seconds (continuous: no leap seconds inserted after the epoch) | GNSS/GPS receiver logs, vehicle telematics, drone/UAV flight logs, NMEA/RTCM/ublox captures |
| TAI64 | 2^62 represents 1970-01-01T00:00:00 TAI | whole TAI seconds (no leap seconds), 8-byte big-endian integer | daemontools/djbdns/qmail/s6/runit service logs (the "@" + 24 hex chars in multilog output) |
| TAI64N | Same as TAI64 | 12-byte format: the TAI64 seconds label plus a 4-byte nanosecond field | Same djb-lineage service logs as TAI64, where sub-second resolution matters |
| ISO 8601 / RFC 3339 | n/a (direct calendar representation) | YYYY-MM-DDThh:mm:ss[.fff](Z|±hh:mm) | Cloud audit logs (AWS CloudTrail, Azure Activity Log, GCP Audit Logs), Kubernetes events, JSON APIs, RFC 5424 syslog |
| RFC 2822 / RFC 5322 Date-Time | n/a (direct calendar representation) | [day-name,] dd Mon yyyy hh:mm:ss ±zzzz | Email 'Date:'/'Received:' headers in .eml/.msg files and mbox archives. Core artifact in phishing/BEC investigations |
| HTTP-date (RFC 7231/9110) | n/a (direct calendar representation) | day-name, dd Mon yyyy hh:mm:ss GMT (IMF-fixdate; two obsolete variants also exist) | HTTP 'Date'/'Last-Modified'/'Expires' headers: web/proxy log forensics, C2 beaconing interval analysis |
| Syslog (RFC 3164, legacy BSD) | n/a (direct calendar representation) | Mmm dd hh:mm:ss (local time, space- not zero-padded day) | /var/log/messages, /var/log/syslog on older rsyslog/sysklogd configs, many network/embedded device logs |
| Syslog (RFC 5424, modern) | n/a (direct calendar representation) | reuses the RFC 3339 grammar exactly (year and offset are mandatory) | rsyslog/syslog-ng default framing, next-gen firewall/EDR/SIEM syslog exports |
| Apache/NCSA Common Log Format | n/a (direct calendar representation) | [dd/Mmm/yyyy:hh:mm:ss ±zzzz] | Apache/NCSA-lineage web server access logs: web-shell and web-exploitation timeline reconstruction |
Terms behind it
- MAC(b) Times: The Modified, Accessed, metadata-Changed, and Born timestamps of a file.
- Timeline Analysis: Ordering filesystem and artifact timestamps to reconstruct events.
- Time Synchronization: Keeping system clocks aligned so log timestamps can be correlated.
- Super Timeline: A unified timeline merging filesystem, registry, log, and artifact events.
Worth using too
- DCode (Digital Detective). A free downloadable Windows forensic utility supporting dozens of timestamp formats decoded directly from raw little/big-endian hex, integers, or floats pulled out of a forensic image: the deeper reference when a value needs decoding straight from a hex dump or a format falls outside this tool's 19.
- Epoch Converter. A browser-based converter with dedicated sub-pages for formats like LDAP/Active Directory FILETIME, .NET ticks, and GPS time, handy as a quick second opinion to cross-check a conversion this tool just produced.
- CyberChef. A free, open-source, browser-only "data Swiss Army knife" with dedicated recipe operations such as From UNIX Timestamp and Windows Filetime to UNIX Timestamp, useful when a timestamp has to be pulled out of a larger blob of hex/base64 as one step in a longer decode chain rather than converted on its own.