Unix Timestamp Converter

Easily convert between Unix timestamps and human-readable dates. Supports seconds and milliseconds.

Current Unix Time

0

Timestamp to Date

Supports seconds (10 digits) or milliseconds (13 digits)

---

---

Date to Timestamp

Supports ISO, UTC, and most common date formats

---

Developer Reference

JavaScript

Math.floor(Date.now() / 1000)

Python

import time; int(time.time())

PHP

time();

Ruby

Time.now.to_i

Java

System.currentTimeMillis() / 1000L;

Go

time.Now().Unix()