time calculator

Unix Timestamp Converter

Translate between human-readable dates and Unix timestamps (seconds since 1 Jan 1970 UTC).

Results

Timestamp from date
1736942400.00
Converted year
1970.00
Converted month
1.00
Converted day
1.00
Converted hour
0.00
Converted minute
0.00
Converted second
0.00
Readable UTC time
1970-01-01 00:00:00 UTC

How to use this calculator

  1. Enter a date and time (year, month, day, hour, minute, second).
  2. Optionally paste an existing Unix timestamp.
  3. See the date converted to epoch seconds and the timestamp converted back to a readable UTC date/time.

Inputs explained

Date/time fields
Year, month, day, hour, minute, second to convert into a Unix timestamp.
Existing Unix timestamp
Seconds since Jan 1, 1970 UTC to convert back into a date/time.

How it works

We convert the entered date/time into UTC and divide by 1,000 to get seconds since January 1, 1970.

Enter an existing timestamp to get the exact UTC year, month, day, and time — handy for debugging schedules or TTLs.

Formula

Unix time = Date.UTC(year, month, day, hour, minute, second) / 1000

When to use it

  • Debugging API payloads or webhook signatures that use epoch seconds.
  • Checking TTL/expiration values in logs or database records.
  • Converting deployment schedules or cron outputs between human time and epoch time.

Tips & cautions

  • Unix timestamps are always UTC. Convert local times to UTC first if needed.
  • If you have milliseconds, divide by 1000 before pasting; multiply the output by 1000 to get milliseconds.
  • Zero-padding months/days isn’t required—enter plain numbers.
  • Handles seconds resolution; milliseconds require manual conversion.
  • No timezone selection—assumes UTC per Unix timestamp specification.
  • Dates must be in the Gregorian calendar.

Worked examples

2025-01-15 12:00 UTC

  • Translates to 1736932800 seconds since the epoch.

Timestamp 1704067200

  • Converts to 2023-12-31 00:00:00 UTC.

Deep dive

This Unix timestamp converter turns human-readable dates into epoch seconds and back. Enter a date/time or paste an epoch value to get the converted UTC result instantly.

Use it for API debugging, log analysis, or TTL checks. It supports seconds resolution; convert milliseconds by dividing or multiplying by 1000 as needed.

FAQs

Is the conversion done in UTC or local time?
All conversions run in UTC to match how Unix timestamps are defined.
Can it handle milliseconds?
Enter seconds for now. Millisecond support is on the roadmap—divide by 1000 before pasting if needed.
Why is my local time different from the UTC output?
Unix timestamps are UTC-based. Convert your local time to UTC first, or add your UTC offset to align times.
Can I use negative timestamps?
Yes. Negative values represent dates before Jan 1, 1970 UTC.
Does daylight saving time change the timestamp?
No. Timestamps are absolute in UTC; DST only affects local clock representations.

Related calculators

Always confirm mission-critical timestamps inside your application or database before deploying changes.