How to use it
- Have a timestamp? Paste it in the box. 10 digits are read as seconds, 13 as milliseconds, 16 as microseconds.
- Have a date? Pick it with the date and time selectors, or type it as
2026-10-14 09:30or14/10/2026. It is read in the time zone you choose. - Need a common value? Tap Now, Start of today or Start of this month, then nudge it with ±1 hour, day or week.
Timestamps in code
- JavaScript:
Math.floor(Date.now() / 1000)gives seconds;Date.now()gives milliseconds. - Python:
int(time.time()) - MySQL:
UNIX_TIMESTAMP()andFROM_UNIXTIME(1760430000) - Shell:
date +%s
Questions
What is a Unix timestamp?
The number of seconds since 00:00:00 UTC on 1 January 1970. It is the same everywhere in the world, which makes it a safe way to store times.
Why is my date off by 5 hours 30 minutes?
The timestamp is in UTC and India Standard Time is UTC+5:30. Pick Asia/Kolkata in the time zone list to see IST.
Seconds or milliseconds?
Most APIs, JWTs and databases use seconds (10 digits today). JavaScript and Java use milliseconds (13 digits). Mixing them up gives dates in 1970 or far in the future.
What happens in 2038?
Systems that store seconds in a signed 32-bit integer overflow on 19 January 2038. Use 64-bit integers for timestamps to avoid it.
More tools
- PDF editor — fill, sign, annotate and redact
- Compress image to a target size
- Image converter and resizer
- Images to PDF
- Merge PDF files
- Split PDF and extract pages
- Rotate PDF pages
- QR code generator — links, UPI, Wi-Fi, contacts
- URL shortener with click count
- Unit converter
- JSON formatter and validator
- JWT decoder
- Base64 encoder and decoder
- Encrypt and decrypt text or files with a password
- Hash generator (MD5, SHA-256, HMAC)
- Strong password generator
- Cron expression explainer
- Regex tester
- JSON to CSV converter (and CSV to JSON)