Time guide

Date to Unix Timestamp

Convert a readable date into Unix seconds and milliseconds for APIs, databases and logs.

Open Timestamp Converter

How to do it

  1. Paste a date string such as 2026-05-05 12:30:00.
  2. Run the timestamp converter.
  3. Use the Unix seconds or milliseconds output depending on your API.

Recommended tool

Related guides

FAQ

What date formats can I paste?

Most browser-supported date strings work, including ISO timestamps.

Why do timezones matter?

A date string without a timezone is usually interpreted as local time by the browser.

Which value should I use for JavaScript?

JavaScript Date timestamps are usually milliseconds.