Epoch & Unix Timestamp Converter

Convert epoch or unix timestamp in seconds or milliseconds to human readable date & time and vice versa i.e convert human readable date into it's epoch or unix timestamp equivalent.

The current Epoch/Unix timestamp is shown in live. Hover over the timestamp to pause live updates and single click on it to copy.

All processing happens on the client-side, locally in your browser. No data is uploaded.

Current Unix Epoch Time is - in milliseconds -

Convert unix timestamp to human readable format

Paste the Unix timestamp here
Select the output date format
GMT
...
Local
...

Convert human readable time to epoch

Paste the human readable timestamp here
Select the format of the timestamp pasted above
Epoch
...
Milliseconds
...

History

  • 2017-10-16Support for milliseconds input/output
  • 2017-08-21Tool Launched

Background

Epoch or Unix time is a way of representing an instant of time. Various programming languages make use of it. Read more at wikipedia

How to get Unix Timestamp in various Programming Languages

LanguageUnix TimestampDocumentation/Example
C#DateTimeOffset.Now.ToUnixTimeSeconds()Documentation
VB .NETDateTimeOffset.Now.ToUnixTimeSeconds()Documentation
JavaSystem.currentTimeMillis() / 1000LDocumentation
JavaScriptMath.round((new Date()).getTime() / 1000)Example
Pythonint(time.time())Documentation
RubyTime.now.to_iDocumentation