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.
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
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-duongAuth: 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
| Parameter | Type | Description |
|---|---|---|
date * | string | Ngày — DD/MM/YYYY |
dir | "solar2lunar" | "lunar2solar" | Chiều đổi(default "solar2lunar") |
leap | boolean | Thá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)
Main error codes
| HTTP | code | Meaning |
|---|---|---|
| 400 | BAD_INPUT / NO_INPUT / TOO_MANY_UNITS / BAD_NUMBER… | Invalid input — the message names the field |
| 401 | MISSING_API_KEY / INVALID_API_KEY / REVOKED_API_KEY | Missing, invalid or revoked API key |
| 429 | RATE_LIMITED / IP_RATE_LIMITED | Per-minute rate limit exceeded — wait for Retry-After |
| 429 | DAILY_QUOTA_EXCEEDED | Daily quota used up — the upgrade field suggests a paid plan |
| 429 | CLUSTER_QUOTA_EXCEEDED | Linked accounts (same device/network) used up the daily quota — the free quota is shared across the group, not multiplied per account |
| 503 | SERVER_BUSY / TOOL_BUSY / API_DISABLED | Server 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.
- Pick a direction: Solar → Lunar or Lunar → Solar. Click Today for today's lunar date, or Try an example (Lunar New Year 2026).
- Enter day, month and year. For Lunar → Solar in a leap month (e.g. leap 6th month of 2025), tick Leap month.
- Results appear instantly: matching date, weekday, Can Chi, solar term and auspicious hours. Click Copy to copy everything.
Frequently asked questions
- Auspicious hours and Can Chi are cultural references only.
Related tools
VietQR Bank Transfer QR Generator
Free VietQR bank transfer QR generator: pick a Vietnamese bank, enter account number, amount and memo — every banking app can scan it. Download, embed, API.
21 runs
Hash MD5, SHA256, Base64 & URL Encoder
Compute MD5, SHA-1, SHA-256, SHA-512 of text or files; encode/decode Base64, URL and hex with full UTF-8. Runs in your browser — free, with API.
3 runs
JSON Formatter & Validator
Paste JSON to beautify (2/4 spaces or tab), minify, sort keys and see syntax errors with line:column. Runs in your browser — free, with API.
3 runs



