Unix / Epoch Timestamp Conversion Tools
Convert Epoch Time (seconds, ms, µs, ns) or Date-Time String
- GMT :
- Local Time (Your Time Zone) :
- Local Time Zone :
- ISO-8601 Format :
- Relative Time :
- Unix Timestamp (Seconds) :
- Unix Timestamp (Milliseconds) :
- GMT :
- Local Time (Your Time Zone) :
- Unix Timestamp (Seconds):
- Unix Timestamp (Milliseconds):
- Unix Timestamp (Microseconds):
- Unix Timestamp (Nanoseconds):
What is Epoch or Unix Epoch Time?
The Unix Timestamp or Unix Epoch Time or POSIX Time is a technique to indicate about a point in time. It can be a number of seconds between particular date time and that have passed since 1 January 1970 at Coordinated Universal Time (UTC). So the Epoch is Unix time 0 (1-1-1970) but it is also used as Unix Time or Unix Timestamp. There are many Unix Systems that stored the description of Unix time is as a signed 32-bit integer, the description will end after the completion of seconds from 1 January 1970, which will happen at 3:14:08 UTC on 19 January 2038. This is called as the Year 2038 problem, where the 32-bit signed Unix time will overflow and will take the actual count to negative.
The Epoch converter tools are here include Unix timestamp converter to date, Date converter to Unix timestamp, Seconds converter to days hours minutes and get Unix timestamp for start and end of day. You can also use Epoch Converter with Timezones and Discord Timestamps Converter tools.
Here is a list of time measures from epoch time:
Seconds | Minutes | Hours | Readable time |
---|---|---|---|
60 | 1 | 0.016667 | 1 minute |
3600 | 60 | 1 | 1 hour |
86400 | 1440 | 24 | 1 day |
604800 | 10080 | 168 | 1 week |
2629744 | 43829.0667 | 730.4844 | 1 month (30.44 days) |
31556926 | 525948.767 | 8765.813 | 1 year (365.24 days) |
Tutorial to work with date and time in different programming language.
PHP | $epoch = time(); More... |
---|---|
JavaScript | var date = new Date(); More... |
Perl | $currentTimestamp = time(); More... |
Python | time.time() More... |
Golang | time.Now() More... |
Java | date.getTime() More... |
C# | DateTimeOffset.Now.ToUnixTimeSeconds() More... |
Ruby | DateTime.now More... |
MySQL | UNIX_TIMESTAMP() More... |
SQL Server | CURRENT_TIMESTAMP() More... |
Rust | dateTime.timestamp() More... |
Kotlin | System.currentTimeMillis() More... |
Matlab | datenum(now) More... |
VBA | Now() More... |
TypeScript | new Date() More... |