Everything you need in one place

SolveItNow
ts

Programming

Unix Timestamp

convert dates and seconds

Convert a Unix timestamp to a readable date and time, or convert any date to its corresponding timestamp. Auto-detects seconds and milliseconds. Essential for debugging logs, inspecting JWT tokens, and working with time-based APIs.

How to use

  1. 1Click 'Now' to automatically fill in the current timestamp.
  2. 2To convert a timestamp to a date, type the number of seconds or milliseconds into the matching field.
  3. 3To convert a date to a timestamp, pick the desired date and time from the picker — the timestamp appears instantly.
  4. 4Use the copy buttons to take the value in seconds, milliseconds, or the current date to another tool.

Practical examples

Debug a log entry showing '1717772400'

Paste the number into the timestamp field to find the exact corresponding date and time, in UTC and in your local time zone.

Generate the timestamp for a token expiration date

Select the desired date and time in the date picker to get the value in seconds, ready to use in a JWT or cookie.

Check whether a timestamp is in seconds or milliseconds

Paste the value into the tool — it automatically detects the format from the number of digits and shows the correct conversion.

Frequently asked questions

What is a Unix timestamp?

It is the number of seconds elapsed since 00:00:00 UTC on January 1, 1970, also known as Unix Epoch. It is the standard format for representing dates in computer systems.

Does the result account for my time zone?

Yes. The conversion to a readable date considers your browser's time zone, but also displays the time in UTC for reference.

Can I convert timestamps in milliseconds?

Yes. The tool accepts timestamps in both seconds and milliseconds (13 digits), automatically identifying the format.

Related tools