Linux Timestamp to Date Converter

Current Unix Time
Advertisement

Linux Timestamp to Date Converter

Linux timestamps are Unix timestamps — the number of seconds since January 1, 1970 00:00:00 UTC. They appear throughout the Linux system: in file metadata reported by stat and ls -l, in system log files under /var/log/, in cron job output, in kernel event logs, in process creation records, and in virtually every time-related system call.

When you run stat /etc/hosts on a Linux system, you see three timestamps: Access, Modify, and Change, each expressed as both a Unix timestamp and a human-readable date. When you inspect /var/log/syslog or parse /proc entries, you're working with the same Unix time system. This converter lets you translate those raw integers into readable dates instantly.

Convert timestamps directly in the Linux terminal

Using date command (GNU coreutils):
date -d @1700000000
Tue Nov 14 22:13:20 UTC 2023

Output as ISO 8601:
date -d @1700000000 --iso-8601=seconds
2023-11-14T22:13:20+00:00

Using Python (more portable across distros):
python3 -c "from datetime import datetime; print(datetime.utcfromtimestamp(1700000000))"

Get current Linux timestamp:
date +%s

For bulk conversion of multiple Linux timestamps from log files or monitoring output, use the batch converter on this page — paste one timestamp per line and get all results at once.

Advertisement
// Epoch → Human-readable date

Auto-detects seconds (10 digits), milliseconds (13), microseconds (16), nanoseconds (19)

Invalid timestamp. Please enter a numeric Unix timestamp.
// Date → Epoch timestamp
Please check the values — year (1970–9999), month (1–12), day (1–31), hour (0–23), min/sec (0–59).

Or paste a date string:

Could not parse that date string.
Advertisement

← Back to all tools

Copied!