Learntrix
High-Precision Developer Tool · 100% In-Browser

Epoch Unix Timestamp Converter

Convert Unix timestamps in seconds or milliseconds to human-readable dates and vice-versa in real time.

Current Unix Epoch Time

Seconds elapsed since Jan 01 1970 00:00:00 UTC

Seconds (10 digits)1792997826
Milliseconds (13 digits)1792997826971

Convert Unix Timestamp to Human Date

Supports both 10-digit (seconds) and 13-digit (milliseconds) epoch values.

Convert Human Date & Time to Unix Epoch

Select a date and time to calculate exact epoch timestamps.

How to Get Current Epoch Timestamp in Code

JavaScriptMath.floor(Date.now() / 1000)
Pythonimport time; int(time.time())
Gotime.Now().Unix()
PHPtime()
JavaSystem.currentTimeMillis() / 1000
Bash / Linuxdate +%s