返回 Ercc

Lunar Calendar Converter

Convert between the solar (Gregorian) and Chinese lunar calendars with ganzhi, zodiac and festivals — 1900 to 2100, in your browser.

Bidirectional 1900–2100 Festivals

Solar → Lunar

Lunar → Solar

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

What is the Chinese lunar calendar?

The Chinese lunar (lunisolar) calendar tracks moon phases and inserts leap months to stay aligned with the seasons. Its New Year (Spring Festival) falls between Jan 21 and Feb 20 in the Gregorian calendar.

What range is supported?

The built-in ephemeris table covers years 1900 to 2100. Dates outside this range cannot be converted.

How do I convert a lunar date?

Pick a lunar year, month and day, and optionally enable the leap month. The solar date, weekday, ganzhi and zodiac are shown instantly.

Is the conversion accurate?

It uses the standard 1900–2100 lunar data table widely used by calendar apps, including leap months, ganzhi and zodiac.