OhMyCalc

Unix Timestamp Converter

Convert between Unix timestamps and human-readable dates. View the current Unix time updating live every second.

Current Unix Timestamp

1776828703

seconds since January 1, 1970 (UTC)

Timestamp to Date

Date to Timestamp

How to Use the Unix Timestamp Converter

  1. Enter the required date, time, or duration values.
  2. Select any additional options such as time zone or format.
  3. View the computed result instantly.
  4. Copy the result or adjust inputs as needed.

Referencia Rápida

DeA
1 minute60 seconds
1 hour3,600 seconds
1 day86,400 seconds
1 week604,800 seconds
1 year31,536,000 seconds
1 year525,600 minutes

Casos de Uso

Fórmula

A Unix timestamp represents the number of seconds elapsed since January 1, 1970, 00:00:00 UTC (the Unix epoch). To convert: date = new Date(timestamp × 1000).

Preguntas Frecuentes

What is a Unix timestamp?
A Unix timestamp (also called epoch time or POSIX time) is the number of seconds that have elapsed since January 1, 1970, at 00:00:00 UTC. It is widely used in programming and databases to represent points in time as a single integer.
Why does the Unix timestamp start from 1970?
The Unix operating system was developed in the late 1960s and early 1970s. January 1, 1970, was chosen as a convenient, round date close to the system's origin. This date is known as the Unix epoch.
What is the Year 2038 problem?
Many older systems store Unix timestamps as a signed 32-bit integer, which can hold values up to 2,147,483,647 — corresponding to January 19, 2038. After that, the value overflows. Modern systems use 64-bit integers to avoid this limitation.
How do I convert a Unix timestamp to a date in JavaScript?
Use new Date(timestamp * 1000) because JavaScript's Date constructor expects milliseconds, while Unix timestamps are in seconds. To go the other way, use Math.floor(Date.now() / 1000).