The current Unix epoch time is 1480228974
Enter a timestamp
Assuming that this timestamp is in seconds:
Enter a Date & Time
Yr
Mon
Day
Hr
Min
Sec
Unix Timestamp
Epoch & Unix Timestamp Converter

epoch translates to

Date
Saturday 27th of November 2021 01:42:48 AM UTC
2021-11-27T01:42:48+0000 ISO 8601
Sat, 27 Nov 21 01:42:48 +0000 RFC 822, 1036, 1123, 2822
Sat, 27 Nov 2021 01:42:48 +0000 RFC 2822
2021-11-27T01:42:48+00:00 RFC 3339

What is epoch time?

Unix time (also known as Epoch time, Posix time, seconds since the Epoch, or UNIX Epoch time) is a system for describing a point in time. It is the number of seconds that have elapsed since the Unix epoch, minus leap seconds; the Unix epoch is 00:00:00 UTC on 1 January 1970 (an arbitrary date); it is nonlinear with a leap second having the same Unix time as the second before it, and every day is treated as if it contains exactly 86400 seconds. Due to this treatment Unix time is not a true representation of UTC.

The Unix epoch (or Unix time or POSIX time or Unix timestamp) is the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT), not counting leap seconds (in ISO 8601: 1970-01-01T00:00:00Z). Literally speaking the epoch is Unix time 0 (midnight 1/1/1970), but 'epoch' is often used as a synonym for Unix time. Some systems store epoch dates as a signed 32-bit integer, which might cause problems on January 19, 2038 (known as the Year 2038 problem or Y2038). The converter on this page converts timestamps in seconds (10-digit), milliseconds (13-digit) and microseconds (16-digit) to readable dates.

Human-readable time Seconds
1 hour3600 seconds
1 day86400 seconds
1 week604800 seconds
1 month (30.44 days) 2629743 seconds
1 year (365.24 days)  31556926 seconds

What happens on January 19, 2038?

On this date the Unix Time Stamp will cease to work due to a 32-bit overflow. Before this moment millions of applications will need to either adopt a new convention for time stamps or be migrated to 64-bit systems which will buy the time stamp a "bit" more time.

How to get the current epoch time in ...

Swift
NSDate().timeIntervalSince1970
Go
import (
      "time"
    )
    int32(time.Now().Unix())
Java
// pure java
    (int) (System.currentTimeMillis() / 1000)
// joda
    (int) (DateTime.now().getMillis() / 1000)
JavaScript
Math.round(new Date() / 1000)
Objective-C
[[NSDate date] timeIntervalSince1970]
MySQL
SELECT unix_timestamp(now())
SQLite
SELECT strftime('%s', 'now')
Erlang
calendar:datetime_to_gregorian_seconds(calendar:universal_time())-719528*24*3600.
PHP
// pure php
    time()
// Carbon\Carbon
    Carbon::now()->timestamp
Python
import time
    time.time()
Ruby
Time.now.to_i
Shell
date +%s
Groovy
(new Date().time / 1000).intValue()
Lua
os.time()
.NET/C#
(DateTime.Now.ToUniversalTime().Ticks - 621355968000000000) / 10000000