Unix Timestamp Converter

Current unix timestamp

Convert timestamp to human-readable date and time

Supports Unix timestamps in seconds, milliseconds

Human-readable date and time to timestamp

Frequent unix timestamps
secondsmilliseconds
now17599427721759942771774
24 hours ago17598563721759856371774
1 week ago17593379721759337971774

Language specific tips

Presto

--timestamp in seconds to human readable date
select from_unixtime(tx_date, 'America/Los_Angeles') as tx_date from transactions;

Javascript

// current ts in milliseconds:
Date.now()
// in seconds
Math.round(Date.now() / 1000)
// to human readable
new Date().toLocaleString()
// from string to timestamp
Date.parse('11/15/2020, 11:03:44 PM')

Java

// current ts in milliseconds:
System.currentTimeMillis();
// in seconds
System.currentTimeMillis() / 1000;

Current Time

Your current time:

04:59:46 PM UTC

Current time in UTC:

04:59:46 PM UTC