Date to Timestamp

Convert human-readable dates and times to Unix timestamps (seconds since January 1, 1970). Supports both seconds and milliseconds precision. Perfect for debugging, API development, and working with timestamps.

When to use this tool

You need a timestamp for API calls or database records.

You are converting human-readable dates into epoch time.

Examples

Convert a UTC date

Input

2025-01-15 09:30:00 UTC

Output

1736933400

Toggle to milliseconds if the target expects 13-digit values.

Developer use cases

Generate timestamps for test payloads.

Convert scheduled job times into epoch for APIs.

Common mistakes to avoid

Forgetting to confirm the timezone (UTC vs local).

Mixing seconds and milliseconds in downstream systems.

Format and behavior notes

Unix timestamps are based on UTC.

Seconds are 10 digits; milliseconds are 13 digits.

Frequently Asked Questions

How do I convert a date to a timestamp?

Enter a date and time using the date picker, and the tool will convert it to a Unix timestamp in seconds or milliseconds.

What is a Unix timestamp?

A Unix timestamp is the number of seconds (or milliseconds) that have elapsed since January 1, 1970, 00:00:00 UTC.

Does the tool support milliseconds?

Yes, you can toggle between seconds and milliseconds precision using the checkbox.