MB Networks
TOOL-13 · Time
Convert epoch timestamps to human dates and back. Paste a value from a log file or generate the epoch for any datetime.
Epoch → human date
Invalid timestamp
Human date → epoch
Invalid date
A Unix timestamp is the number of seconds elapsed since January 1, 1970, 00:00:00 UTC (the "Unix epoch") — a single integer that unambiguously represents a moment in time regardless of timezone, which is exactly why databases, logs, and APIs store dates this way instead of a formatted string. Converting it to a human-readable date requires knowing which timezone you want it displayed in; the timestamp itself has no timezone, only the display does.
Unix timestamps are traditionally seconds-based (10 digits for current dates), but JavaScript's Date.now() and many modern APIs return milliseconds (13 digits) instead — feeding a millisecond timestamp into a tool or function expecting seconds lands you in the year 1970-something, and vice versa lands you thousands of years in the future. Checking the digit count is the fastest sanity check before debugging further.
Almost certainly a seconds/milliseconds mismatch — a 13-digit millisecond timestamp interpreted as seconds lands far in the future; a 10-digit second timestamp interpreted as milliseconds lands in early 1970. Check the digit count (10 = seconds, 13 = milliseconds) before assuming the timestamp itself is wrong.
No — a Unix timestamp is always seconds since the epoch in UTC, with no timezone attached at all. Any timezone you see is applied only when the timestamp gets converted to a human-readable date; the underlying number itself is timezone-agnostic.
Systems storing the timestamp as a signed 32-bit integer will overflow on January 19, 2038 (the “Year 2038 problem”) — this affects some older 32-bit systems specifically; modern 64-bit systems use a wider integer and won't hit this limit for billions of years.
Related tools
DevOps
Crontab to systemd Timer Converter
Convert a crontab line into a systemd .service + .timer pair, including the two-OnCalendar-line trick for cron's day-of-month/day-of-week OR behavior. No account, nothing leaves your browser.
Open →DevOps
Docker Compose Generator
Build a valid Docker Compose file from a form — services, images, ports, volumes, environment variables, and restart policy. No account, nothing leaves your browser.
Open →DevOps
Dockerfile Generator
Generate a Dockerfile from a form — base image, workdir, copy and run steps, exposed ports, and an optional multi-stage build. No account, nothing leaves your browser.
Open →DevOps
Firewall Rule Builder
Build firewall rules from a form and get the equivalent nftables ruleset, iptables commands, and ufw commands, side by side. No account, nothing leaves your browser.
Open →DevOps
.gitignore Generator
Build a merged .gitignore from language, editor, and OS templates — Node, Python, Go, Rust, Java, VSCode, JetBrains, macOS, Windows, and more. No account, nothing leaves your browser.
Open →DevOps
Kubernetes Manifest Generator
Generate a Kubernetes Deployment, Service, and optional Ingress manifest from a form — replicas, resource limits, probes, and env vars. No account, nothing leaves your browser.
Open →All calculations run locally