Skip to content
All tools

Vietnamese Lunar ↔ Solar Date Converter

Convert Vietnamese lunar and Gregorian dates (1900–2199): leap months, Can Chi day/month/year, solar terms and auspicious hours. Free, in-browser, with API.

·Developer API ↓
Gregorian date

Enter day, month and year — or click Today.

Calculated for Vietnam time (GMT+7); Can Chi and auspicious hours are cultural references only. Dates are converted in your browser — nothing is sent to the server or stored.

Developer API

Developer API

Free

Call this exact tool from your code over JSON REST — same result as on the web, authenticated with an API key.

Endpoint

POST https://sieutool.net/api/v1/tools/lich-am-duong

Auth: send the X-API-Key header — create a free key in Account → API keys.

  • Rate limit60 requests/min
  • Daily quota1.000 requests/day
  • PriceFree · up to 1 items/request

Request parameters

ParameterTypeDescription
date *stringNgày — DD/MM/YYYY
dir"solar2lunar" | "lunar2solar"Chiều đổi(default "solar2lunar")
leapbooleanTháng nhuận (chỉ khi Âm → Dương)

* required. Send JSON in the body, Content-Type: application/json.

Code examples

curl -X POST 'https://sieutool.net/api/v1/tools/lich-am-duong' \
  -H 'Content-Type: application/json' \
  -H "X-API-Key: $NXP_API_KEY" \
  -d '{"date":"17/02/2026","dir":"solar2lunar"}'

Sample response

{
  "ok": true,
  "tool": "lich-am-duong",
  "version": "1.0.0",
  "data": {
    "dir": "solar2lunar",
    "solar": {
      "day": 17,
      "month": 2,
      "year": 2026,
      "weekday": 2,
      "text": "17/02/2026",
      "weekday_vi": "Thứ Ba"
    },
    "lunar": {
      "day": 1,
      "month": 1,
      "year": 2026,
      "leap": false,
      "month_days": 30,
      "leap_month_of_year": 0,
      "text": "01/01/2026"
    },
    "can_chi": {
      "day": "Nhâm Tuất",
      "month": "Canh Dần",
      "year": "Bính Ngọ"
    },
    "tiet_khi": "Lập xuân",
    "gio_hoang_dao": [
      "Dần (3h–5h)",
      "Thìn (7h–9h)",
      "Tỵ (9h–11h)",
      "Thân (15h–17h)",
      "Dậu (17h–19h)",
      "Hợi (21h–23h)"
    ],
    "jd": 2461089
  }
}

Try it (live call)

No API key yet? Sign in and create a free key, then paste it below. Create API key
Paste your API key (kept in this page only, never stored) and send a request. Test requests count toward your key's rate limit.

Main error codes

HTTPcodeMeaning
400BAD_INPUT / NO_INPUT / TOO_MANY_UNITS / BAD_NUMBER…Invalid input — the message names the field
401MISSING_API_KEY / INVALID_API_KEY / REVOKED_API_KEYMissing, invalid or revoked API key
429RATE_LIMITED / IP_RATE_LIMITEDPer-minute rate limit exceeded — wait for Retry-After
429DAILY_QUOTA_EXCEEDEDDaily quota used up — the upgrade field suggests a paid plan
429CLUSTER_QUOTA_EXCEEDEDLinked accounts (same device/network) used up the daily quota — the free quota is shared across the group, not multiplied per account
503SERVER_BUSY / TOOL_BUSY / API_DISABLEDServer under heavy load or API paused — wait for Retry-After

Every response carries X-RateLimit-Remaining / X-RateLimit-Remaining-Day; 429/503 errors include Retry-After (seconds).

How to use

Convert Gregorian dates to the Vietnamese lunar calendar and back for 1900–2199 — find Tết, full moons, memorial days or lunar birthdays. Results include leap months, the sexagenary (Can Chi) names of day, month and year, the solar term and auspicious hours. Uses Ho Ngoc Duc's astronomical algorithm with Vietnam time (GMT+7), entirely in your browser.

  1. Pick a direction: Solar → Lunar or Lunar → Solar. Click Today for today's lunar date, or Try an example (Lunar New Year 2026).
  2. Enter day, month and year. For Lunar → Solar in a leap month (e.g. leap 6th month of 2025), tick Leap month.
  3. Results appear instantly: matching date, weekday, Can Chi, solar term and auspicious hours. Click Copy to copy everything.

Frequently asked questions

Sometimes. Vietnam uses GMT+7 and China GMT+8, so a new moon can fall on different days — e.g. Tết 1968 was a day earlier in Vietnam. This tool uses Vietnam time.

A lunar year (~354 days) is ~11 days shorter than a solar year, so roughly every 3 years a 13th (leap) month is added — the month without a major solar term. E.g. 2023 leap 2nd month, 2025 leap 6th month.

It uses the astronomical algorithm widely used for the Vietnamese calendar, checked against Tết 2024–2026 and the leap month of 2025. Before 1968 printed calendars may have used GMT+8, so a few dates can differ by one day.

Not on the web: dates are converted in your browser; the server only records 1 run. With the API, dates are computed in memory and not stored.
  • Auspicious hours and Can Chi are cultural references only.
All Utilities tools →
Sends only the tool name, the last error code and your browser type — never what you typed.