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
Convert human readable time to epoch
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
| Language | Unix Timestamp | Documentation/Example |
|---|---|---|
| C# | DateTimeOffset.Now.ToUnixTimeSeconds() | Documentation |
| VB .NET | DateTimeOffset.Now.ToUnixTimeSeconds() | Documentation |
| Java | System.currentTimeMillis() / 1000L | Documentation |
| JavaScript | Math.round((new Date()).getTime() / 1000) | Example |
| Python | int(time.time()) | Documentation |
| Ruby | Time.now.to_i | Documentation |