Tools

Time Tools

Unix Timestamp Converter

Convert UTC dates to Unix timestamps and convert seconds or milliseconds back to dates.

Output

Convert between UTC date strings, Unix seconds, and Unix milliseconds.

Common edge cases

The same instant can be represented as 1704067200 seconds or 1704067200000 milliseconds.

Language snippets

const seconds = Math.floor(Date.now() / 1000);
const milliseconds = Date.now();

FAQ

What timezone does this use?

Conversions use UTC as the canonical timezone.

Related tools