How to Convert Date to Unix Milliseconds: Steps and a Worked Example

By 1 min read

Convert a date to a Unix timestamp in milliseconds. This guide shows what to enter, a worked example with real numbers, and the limits to keep in mind. The Date to Unix Milliseconds tool is free, needs no account and runs in your browser.

What you need

  • Date (UTC midnight), such as 1 January 2026

Step by step

  1. Open the Date to Unix Milliseconds tool.
  2. Fill in Date (UTC midnight).
  3. Read the result, which updates as soon as the inputs change.

Worked example

With these inputs:

  • Date (UTC midnight): 1 January 2026

the tool returns:

1767225600000

How it works

Milliseconds since 1 January 1970 00:00 UTC. Enter the date and the result appears straight away. Everything runs in your browser, so nothing you type is uploaded.

Things to keep in mind

Check your inputs, units and any local rules before you rely on the result.

If this is not quite what you need, try Unix Milliseconds to Date, ISO Date to Unix Timestamp or Add Days to Date.

More from the blog