Epoch & Unix Timestamp Converter

Oct 16, 2017

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.

Current Unix Epoch Time is in milliseconds


Convert unix timestamp to human readable format


GMT
...
Local
...

Convert human readable time to epoch

Epoch
...
Milliseconds
...

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

    • Language: C#
    • Unix Timestamp: DateTimeOffset.Now.ToUnixTimeSeconds()
    • Documentation/Example: Documentation
    • Language: VB .NET
    • Unix Timestamp: DateTimeOffset.Now.ToUnixTimeSeconds()
    • Documentation/Example: Documentation
    • Language: Java
    • Unix Timestamp: System.currentTimeMillis() / 1000L
    • Documentation/Example: Documentation
    • Language: JavaScript
    • Unix Timestamp: Math.round((new Date()).getTime() / 1000)
    • Documentation/Example: Example
    • Language: Python
    • Unix Timestamp: int(time.time())
    • Documentation/Example: Documentation
    • Language: Ruby
    • Unix Timestamp: Time.now.to_i
    • Documentation/Example: Documentation
Comments 0

History
Oct 16, 2017
Support for milliseconds input/output
Aug 21, 2017
Tool Launched