The Unix timestamp (also known as POSIX time or Epoch time) is the number of seconds elapsed since January 1, 1970 at 00:00:00 UTC (excluding leap seconds).
Current timestamp (seconds) :
0
Timestamp in milliseconds :
0
UTC / GMT date & time :
-
Your local time :
-
Convert Unix Timestamp to Date & Time
Enter a timestamp (in seconds, milliseconds, microseconds, or nanoseconds — auto-detected):
Timestamp :
Detected unit : -
Local date & time :
UTC / GMT date & time :
ISO 8601 :
Relative time :
Day :
Convert Date & Time to Unix Timestamp
Enter a date and time (local or UTC) to compute the corresponding Unix timestamp:
Year
Month
Day
Hour
Min
Sec
Timezone :
Timestamp (seconds) :
Timestamp (milliseconds) :
ISO 8601 :
Duration & Timestamp Offset Calculator
Convert any number of seconds into days, hours, minutes, and seconds (or vice versa):
Total seconds : s
days
hours
min
sec
Add or subtract a duration from a starting Unix timestamp:
Timestamp :
days
hours
min
sec
Resulting timestamp :
Resulting date :
Common Timestamp Durations & Year 2038 Problem
Duration
Seconds
1 minute
60
1 hour
3 600
1 day
86 400
1 week
604 800
1 month (30.44 days)
2 629 743
1 year (365.24 days)
31 556 926
What is a Unix Timestamp? Unix time (also known as Epoch time) is a timekeeping standard used across Unix/Linux systems, PHP, MySQL, and JavaScript. It counts the number of seconds elapsed since January 1, 1970 at 00:00:00 UTC (excluding leap seconds).
In code: in PHP, time() returns the current timestamp in seconds; in JavaScript, Math.floor(Date.now() / 1000) returns seconds; in MySQL, UNIX_TIMESTAMP() and FROM_UNIXTIME() convert between timestamps and dates.
The Year 2038 Problem (Y2K38): on legacy 32-bit systems storing Unix time as a signed 32-bit integer (int32), the maximum value is 2,147,483,647, reached on January 19, 2038 at 03:14:07 UTC, after which it overflows to December 13, 1901. Modern 64-bit systems (including PHP 8.4) use 64-bit integers and are unaffected.