CyberKit

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.

Formats
FormatEpochUnitSeen in DFIR
Unix time (seconds)1970-01-01T00:00:00ZsecondsLinux syslog/auditd, most REST APIs, JWT iat/exp/nbf claims, cron, many log formats
Unix time (milliseconds)1970-01-01T00:00:00ZmillisecondsJavaScript Date.now()/getTime(), Java System.currentTimeMillis(), MongoDB, many JSON logs
Unix time (microseconds)1970-01-01T00:00:00ZmicrosecondsPython 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:00ZnanosecondsGo time.UnixNano(), Python time.time_ns(), high-resolution tracing/eBPF tooling, APFS inode timestamps
Java / JavaScript epoch time1970-01-01T00:00:00ZmillisecondsJVM/Android application logs, browser console/localStorage artifacts, Node.js logs
Python epoch conventions1970-01-01T00:00:00Zseconds (float)Python-based forensic scripts, Volatility/custom tool output, application logs
Windows FILETIME1601-01-01T00:00:00Z100-nanosecond intervalsNTFS $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 timestamp1601-01-01T00:00:00Z100-nanosecond intervalsAD attributes pwdLastSet, accountExpires, lastLogon, badPasswordTime, lockoutTime
.NET / C# DateTime.Ticks0001-01-01T00:00:00100-nanosecond intervals.NET/C# application databases, PowerShell Get-Date .Ticks: do not confuse with FILETIME (same tick size, different epoch)
OLE Automation Date1899-12-30T00:00:00days (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 timestamp1980-01-01 (packed year offset)packed 16-bit date + 16-bit time fields, local time, 2-second resolutionFAT12/16/32 volumes (USB drives, SD cards, embedded/IoT media), some legacy ZIP archive entries
HFS+ timestamp1904-01-01T00:00:00ZsecondsMac OS Extended (HFS+) volume catalog timestamps, Time Machine, drives predating the APFS transition (2017)
Classic Mac OS HFS timestamp1904-01-01T00:00:00, in LOCAL timesecondsLegacy HFS (Mac OS 9 and earlier) volumes, rare today
Mac Absolute Time (Cocoa)2001-01-01T00:00:00Zseconds (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 timestamp1970-01-01T00:00:00ZnanosecondsAPFS inode MACB timestamps (macOS 10.13+ / iOS default filesystem), Time Machine on Big Sur+
ext2/ext3 inode timestamp1970-01-01T00:00:00Zseconds (signed 32-bit)ext2 (older Linux, some boot/EFI partitions), ext3 (older distros, embedded Linux/NAS) inode timestamps
ext4 extended inode timestamp1970-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 timestamp1601-01-01T00:00:00ZmicrosecondsChrome/Chromium/Edge/Brave History and Cookies SQLite DBs (visit_time, last_visit_time, creation_utc)
UUID version 1 timestamp1582-10-15T00:00:00Z (the Gregorian calendar reform date)100-nanosecond intervals, packed into a 60-bit fieldTime-based UUIDs (v1, and v6/v7 variants) in application/database records, log correlation IDs: recoverable creation time plus the generating NIC MAC address
GPS time1980-01-06T00:00:00 UTCseconds (continuous: no leap seconds inserted after the epoch)GNSS/GPS receiver logs, vehicle telematics, drone/UAV flight logs, NMEA/RTCM/ublox captures
TAI642^62 represents 1970-01-01T00:00:00 TAIwhole TAI seconds (no leap seconds), 8-byte big-endian integerdaemontools/djbdns/qmail/s6/runit service logs (the "@" + 24 hex chars in multilog output)
TAI64NSame as TAI6412-byte format: the TAI64 seconds label plus a 4-byte nanosecond fieldSame djb-lineage service logs as TAI64, where sub-second resolution matters
ISO 8601 / RFC 3339n/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-Timen/a (direct calendar representation)[day-name,] dd Mon yyyy hh:mm:ss ±zzzzEmail '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 Formatn/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.

All tools