返回 Ercc

Date Calculator

Difference between two dates, or add & subtract days, weeks, months and years — instantly in your browser.

Date Difference Add / Subtract Instant

Date Difference

Add or Subtract

How it works

Three simple steps —everything happens in your browser.

1

Enter a timestamp or date

Paste a Unix timestamp or type a human-readable date and time.

2

See both formats

The converter instantly shows the equivalent in both Unix and human-readable formats.

3

Copy and use

Click any output field to copy the value. Use the current time button for now.

Features

Bidirectional Conversion

Convert timestamp to date or date to timestamp in one page.

Live Unix Clock

Watch the current Unix timestamp tick in real time.

UTC & Local Time

See both UTC and your local timezone for every conversion.

Seconds & Milliseconds

Auto-detects whether input is in seconds (10 digits) or milliseconds (13 digits).

Why choose Ercc Timestamp Converter?

Bidirectional conversion

Convert Unix timestamp to date or date to Unix timestamp with one click.

No data leaves your browser

All conversion is done locally. No server calls, no logging.

Live current time

See the current Unix timestamp ticking in real time, always up to date.

Pro Tips

  • Unix time is the number of seconds since January 1, 1970 00:00:00 UTC (the “epoch”).
  • JavaScript’s Date.now() returns milliseconds. Divide by 1000 for seconds.
  • The Year 2038 problem occurs when 32-bit systems overflow at timestamp 2,147,483,647.
FAQ

Frequently Asked Questions

How do I calculate the difference between two dates?

Pick a start and an end date. The tool instantly shows the difference in days, weeks, months and years, and tells you which date is later.

How do I add days or months to a date?

Enter a base date, an amount and a unit (days, weeks, months or years), choose add or subtract, and the new date is shown with its weekday and how far it is from today.

Is the month calculation exact?

Month and year differences are calendar-based (same day of month), so they may vary by a day around month ends. Day differences are exact.

Does it need internet?

No. All calculation runs locally in your browser.