Skip to main content
Live · Week of Year --/--

Unix Timestamp Converter

Convert Unix timestamps to dates and back, with seconds, milliseconds and selectable time zones. Check log entries and API timestamps in your browser.

Start converting
s

 

Day progress0%
Year progress0.0%
01

Timestamp and Date String Conversion

Edit either field and the other updates live. Open the calendar for precise date and time selection.

Date & time
Linked

UTC

—

Relative

—

Week of Year

—

02

Recent Timestamps

Click a row to copy the timestamp

More time tools

03

Timestamp in Programming Languages

How to get current Unix timestamp in different programming languages

Python
1# Method 1: Using time2import time3timestamp = int(time.time())4 5# Method 2: Using datetime6from datetime import datetime7timestamp = int(datetime.now().timestamp())
04

Frequently Asked Questions

05

What is a Unix Timestamp?

A timestamp is a sequence of characters or encoded information identifying when a certain event occurred, usually giving date and time of day, sometimes accurate to a small fraction of a second.

The Unix timestamp tracks time as a running total of seconds. This count starts at the Unix Epoch on January 1st, 1970 at UTC.