Daily almanac
For a given date it returns the lunar date, the sexagenary day, the twelve day-officers, the yellow or black path, what to do and what to avoid, the clashing zodiac and the auspicious hours, and it can list the surrounding days for page-by-page browsing.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Daily almanac
Lunar date, day pillar and its nayin, the twelve day officers and the yellow/black path, what to do and avoid, the clash, the next solar term and the auspicious hours.
Enter a date to see its almanac, e.g. 2024-02-10
Span: 0 · Days listed: 0 · Suitable: 0 · Avoid: 0 · Auspicious hours: 0
What this tool does
- Check the lunar date, day pillar and day officer before an event, then copy the suitable/avoid list into a plan or a chat.
- Verify the clash line: the "Clash" row tells you which zodiac is in conflict (a 辰 day clashes with 狗 and harmonises with 鸡, 鼠 and 猴).
- Browse day by day: set "days to list around it" to 3–7 and get a week of day officers and yellow/black path ratings for picking a date.
- Look up a solar term: the "Next solar term" line gives its name and date — after 2024-02-10 the next one is 雨水 on 2024-02-19.
Example
Input
2024-02-10
Output
Date: 2024-02-10 Saturday Lunar: 二〇二四年正月初一(龙) Day pillar: 甲辰 · 纳音 覆灯火 Jianchu & Huangdao: 满 · 白虎 (凶) Suitable: 祭祀、祈福、开市、造屋 Avoid: 服药、栽种、安葬 Clash: 冲狗 · 合鸡、鼠、猴 Next solar term: 雨水 2024-02-19 (in 9 days) Auspicious hours: Yin 03:00–04:59 · Chen 07:00–08:59 · Si 09:00–10:59 · Shen 15:00–16:59 · You 17:00–18:59 · Hai 21:00–22:59 First 4 solar terms of 2024: 小寒 大寒 立春 雨水 Constellation: 01/20–02/18
Real output for 2024-02-10 (lunar new year). The day pillar is 甲辰 with nayin 覆灯火; the day officer is 满 and it falls on 白虎 (a black-path day), hence "凶". The auspicious hours come from the hour-level yellow/black path derived from the day branch 辰 — a different date gives a different set.
Frequently asked questions
What are these results based on?
The lunar date comes from the built-in 1900–2100 compressed table (the same one wannianli uses, starting 1900-01-31). The day pillar is JDN + 49 modulo 60 (checkable: 2024-02-10 is a 甲辰 day, 2026-02-17 a 壬戌 day) and the nayin uses the standard table of thirty pairs. The twelve day officers follow from the difference between the pillar month branch and the day branch (after 立春 the month is 寅, so a 辰 day is 满), the yellow/black path walks the twelve spirits from 青龙 forward month by month and marks 青龙, 明堂, 金匮, 天德, 玉堂 and 司命 as auspicious. The clash row uses the six clashes plus the six-harmony and three-harmony groups. Solar terms use the sun's apparent longitude (the same algorithm as jiaqi-2026).
Why do the auspicious hours change from day to day?
They follow the hour-level 青龙 starting rule: on 子/午 days 青龙 starts at 申, on 丑/未 at 戌, on 寅/申 at 子, on 卯/酉 at 寅, on 辰/戌 at 辰 and on 巳/亥 at 午; the twelve spirits then run in a fixed order and the six yellow-path spirits are the auspicious hours. Each date therefore has six auspicious hours that depend on its day branch (2024-02-10 gives 寅辰巳申酉亥, a 甲子 day gives 子丑卯午申酉). This differs from the site's other hour tools (calendar-core in jiaqi-2026 / timeshichen), which use a simplified "every third hour is auspicious" rule that ignores the date; when picking a time, trust your own almanac.
Is the suitable/avoid list a full almanac?
No. It is a 12-entry reference table keyed by the day officer (three to four items each — a 满 day suggests 祭祀, 祈福, 开市, 造屋), which is why the item count caps at 4. A real almanac also weighs the 28 mansions, the month order, spirits and the day's stem-branch combination, and different editions disagree, so treat this page as a reference rather than advice.
Which dates are covered, and what are the limits?
The lunar data covers 1900-01-31 to 2100-12-31; anything outside that range or not formatted as YYYY-MM-DD reports invalid-date instead of inventing a result. The span caps at 15 days, so at most 31 days are listed at once. Nothing is stored in localStorage and no request is made.
Keywords:almanac