Forgly

Date to Unix Timestamp Converter

Convert a date and time to a Unix timestamp (epoch seconds or milliseconds).

Current Unix timestamp
1780262143
Try an example:
Try an example:

Converting Date to Unix Timestamp

A Unix timestamp is the integer number of seconds since 1 January 1970 UTC. Converting a date produces that number, used widely in APIs, databases, and logs.

How to convert Date to Unix Timestamp by hand

  1. Parse the date and time — include a timezone, or it is read as your local time.
  2. Compute the elapsed milliseconds since the Unix epoch.
  3. Divide by 1000 and floor for seconds, or keep the millisecond value.

Worked example

2026-01-01 00:00:00 UTC1767225600Seconds since the epoch; multiply by 1000 for milliseconds.

More converters

Frequently asked questions

How do I convert Date to Unix Timestamp?

Parse the date and time — include a timezone, or it is read as your local time. Compute the elapsed milliseconds since the Unix epoch. Divide by 1000 and floor for seconds, or keep the millisecond value. Or just use the converter on this page — it does it instantly. Example: 2026-01-01 00:00:00 UTC becomes 1767225600.

What is 2026-01-01 00:00:00 UTC in unix timestamp?

2026-01-01 00:00:00 UTC converts to 1767225600. Seconds since the epoch; multiply by 1000 for milliseconds.

Is this converter free and private?

Yes — it is free and unlimited, and the conversion runs entirely in your browser, so nothing is uploaded to a server.