Skip to content
M2TOOLKIT

Developer · free tool

Unix Timestamp Converter

Convert Unix timestamps to readable dates, and dates back to timestamps.

Use it as often as you like — it's free, with no sign-up and no limits.

  • Developer
  • Free
  • No sign-up
  • Runs in your browser
  • Updated

Current Unix timestamp

—

Timestamp → date

Detected as seconds
2026-01-01T00:00:00.000Z
UTC (ISO 8601)
RFC 2822 / HTTP date
Thu, 01 Jan 2026 00:00:00 GMT

Date → timestamp

Pick a date and time.

Discord timestamps

Paste one of these into a Discord message. Everyone who reads it sees the time converted to their own time zone.

StyleCodeLooks like (for you)Copy
Short time<t:1767225600:t>—
Long time<t:1767225600:T>—
Short date<t:1767225600:d>—
Long date<t:1767225600:D>—
Short date & time (default)<t:1767225600:f>—
Long date & time<t:1767225600:F>—
Relative<t:1767225600:R>—

Previews use your browser's language and time zone; Discord's own wording can differ slightly.

Everything you type is processed in your browser. Nothing you enter is sent to our servers or stored by us.

How to use the Unix Timestamp Converter

  1. Paste a timestamp to see the date in UTC and your local time.
  2. Or pick a date and time to get its timestamp.
  3. Copy the current timestamp from the top, or a ready-made Discord timestamp code from the table below.

What does this tool do?

A Unix timestamp counts seconds since 00:00:00 UTC on January 1, 1970 (the “epoch”). JavaScript and many APIs use milliseconds instead, so the converter detects the unit from the number's size.

Results are shown in UTC (ISO 8601), your local time zone and the HTTP date format, and as Discord <t:…> codes in all seven display styles.

Why use it?

  • Read timestamps in logs and databases.
  • Create timestamps for API requests.
  • Seconds vs milliseconds detected for you.

Use cases

  • Read created_at or exp values in logs, databases and JSON Web Tokens.
  • Get the current epoch time for an API request or a cron job.
  • Make a Discord timestamp that shows each reader the time in their own time zone.

Examples

1767225600 = 2026-01-01T00:00:00Z. 1767225600000 is the same moment in milliseconds.

Common mistakes

  • Mixing seconds and milliseconds. 1700000000 is 14 November 2023; read as milliseconds it would be 20 January 1970. The converter detects the unit from the number of digits.
  • Forgetting that a timestamp has no time zone. It's one moment in time; only how you display it (UTC or local) changes.

Privacy

Everything you type is processed in your browser. Nothing you enter is sent to our servers or stored by us. There's no account to create and nothing to install.

Frequently asked questions

What is the year 2038 problem?

Systems that store timestamps as signed 32-bit integers overflow after 2147483647, which is 2038-01-19T03:14:07Z. Modern systems use 64-bit values, which last billions of years.

How do I make a Discord timestamp?

Enter the timestamp (or pick a date and copy its seconds value), then copy a code from the Discord timestamps table, such as <t:1767225600:F>. Discord shows it to every reader in their own time zone; :R shows a relative time like “in 3 days”.

Is a Unix timestamp in UTC?

Yes. It counts seconds since 1970-01-01T00:00:00Z regardless of where you are, which is why the same number shows different local times in different countries.

How do I get the current timestamp in code?

JavaScript: Math.floor(Date.now() / 1000). Python: int(time.time()). PHP: time(). Bash: date +%s. JavaScript's Date.now() alone returns milliseconds.

Last reviewed by the M2Toolkit team.

Helpful guides

Other tools people use alongside the unix timestamp converter.