ToolBark
Developer

Unix Timestamp Converter

Convert Unix timestamps to dates and back.

Timestamp → Date

Enter a Unix timestamp (seconds or milliseconds).

Date → Timestamp

Pick a date and time to get its Unix timestamp.

About

The Unix Timestamp Converter translates between Unix timestamps (seconds or milliseconds since January 1, 1970 UTC) and human-readable dates and times. Developers use it daily to debug API responses, inspect database records, read log files, and convert dates across time zones — all without writing a single line of code.

FAQ
What is a Unix timestamp?+

A Unix timestamp is the number of seconds that have elapsed since the Unix epoch — midnight on January 1, 1970, UTC. It is a time-zone-neutral way to represent a single point in time, which is why it is the standard for storing and transmitting dates in databases, APIs, and log systems worldwide.

How do I know if my timestamp is in seconds or milliseconds?+

A 10-digit number is almost certainly seconds (covers dates from 2001 through 2286). A 13-digit number is milliseconds (the format used by JavaScript's Date.now()). If your timestamp has 13 digits and you paste it into a seconds-based converter you will get a date thousands of years in the future — a common source of confusion.

How do I get the current Unix timestamp?+

The converter shows the current timestamp and auto-updates so you can copy it at any moment. In code: JavaScript uses Math.floor(Date.now()/1000), Python uses import time; int(time.time()), and in a Unix shell you can run date +%s.

Does the converter handle time zones?+

Yes. Unix timestamps are always UTC by definition, but the converter displays the equivalent date and time in your local time zone alongside the UTC value, making it easy to reason about when an event actually occurred in your region.

Related tools