Timestamp converter
Enter a timestamp or pick a date to see it in every common format and time zone.
– - Unix (seconds)
–- Unix (milliseconds)
–- ISO 8601
–- ISO 8601 (UTC)
–- RFC 2822
–- Readable
–- Relative to now
–
Everything happens in your browser - nothing you type here is sent to any server.
How it works
What a Unix timestamp is
It's the number of seconds since 1 January 1970, 00:00 UTC. Databases, server logs and APIs store time this way because the number is the same everywhere in the world, whatever the time zone. JavaScript and many systems use milliseconds - 13 digits instead of 10. The tool recognises the unit by the number's length.
Time zones and daylight saving
The same timestamp is a different hour in Warsaw and in New York. Pick a time zone and the tool shows the right time, daylight saving included - and converts the date you pick back into a timestamp.
Frequently asked questions
How do I tell seconds from milliseconds?
Current dates in seconds have 10 digits (e.g. 1700000000), in milliseconds 13 (1700000000000), in microseconds 16.
What is the year 2038 problem?
Systems storing timestamps as signed 32-bit numbers overflow on 19 January 2038. Modern systems use 64 bits, enough for billions of years.
How do I get the current timestamp in code?
JavaScript: Math.floor(Date.now() / 1000), PHP: time(), Python: int(time.time()), in a terminal: date +%s.
More tools
- Website checker
- Google search preview
- UTM link builder
- QR code generator
- Character counter
- Email signature generator
- Image compressor
- Favicon generator
- Colour contrast checker
- Text compare
- JSON formatter
- Base64 encode and decode
- JWT decoder
- URL encode / decode
- UUID generator
- Hash generator (SHA-256, MD5)
- Regex tester
- Cron expressions