Epoch Converter – Unix/Linux Timestamp

Current Epoch Time

Epoch Time

UTC Time

Epoch Converter (Convert Human Date Timestamp)

Date Converter (Convert Epoch Date Timestamp)

epoch converter

What is Epoch ? - Unix/Linux Timestamp

Epoch is one of time measurement unit, which always represents in Unix and Linux operation system (Synonym for Unix timestamp), Epoch has been counted as a number of seconds that have elapsed since 1 January 1970 00:00:00 GMT (1970-01-01 00:00:00 GMT). Epoch starts counting on “0” since “1970-01-01” and keeps counting for a time being until now, however for a time before that had been counted as negative numbers.

DatetimeEpoch
1969-12-31 23:59:58-2
1969-12-31 23:59:59-1
1970-01-01 00:00:00 0
1970-01-01 00:00:01 1

How to convert Epoch to human readable datetime ?

Epoch has been counted as a number of seconds, therefore epoch should be the length of time duration sine 1 January 1970. Until now, It was over a billion seconds and still keep counting every second. We can convert epoch to humanly readable datetime by adding date base on these seconds table.

Time UnitsSeconds
Minute60
Hour3,600
Day86,400
Week604,800
Month2,629,743
Year31,556,926

Do not forget to count on 29 February or most people call “Leap Day” that usually occurs every four years. This day has been added into calendar because the Earth does not orbit the sun in precisely 365 days.

Why Epoch is called Unix timestamp ?

Unix time, POSIX time or UNIX Epoch time is a point of time. Describing as a number of seconds duration unit since Thursday, 1 January 1970 00:00:00. The most operating system especially on the Unix-like system where represented as signed 32-bit number. In the meantime of clock counting, Unix system store time data as numbers and keep counting in seconds unit. It uses low resource because the system did not care about the calculation of hours, days, months or years. This background process consumes resource only one clock cycle. (Unix time is based on the Unix epoch, it is sometimes referred to epoch time)

unix-linux

Epoch Converter - Programing Command

LanguageEpoch Command
Unixdate +%s
PHPtime()
Javadate.getTime()
Pythonmktime()
Perltime()
Oracleselect (sysdate- to_date('1-1-1970 00:00:00','MM-DD-YYYY HH24:Mi:SS'))*24*3600 from dual
Close Menu
%d bloggers like this: