Almost every Zi Wei calculator asks for a date, and almost every beginner gets this wrong at least once. The system is traditionally built on the lunar calendar, but most people only know their Gregorian birthday. Here is the rule, and the exceptions that actually matter in practice.
The short answer
If the tool asks for a lunar date, enter your lunar date. If it asks for a solar date, enter your Gregorian date and let the tool convert for you. Do not convert by hand unless you enjoy debugging your own arithmetic, because the conversion is simple in principle and full of off-by-one traps in practice, especially near month boundaries.
The confusion is that many Chinese-language tools label the field 农历 for lunar or 公历 for solar, and a mistranslation can flip the meaning. Check which one the field wants before typing. If the interface is ambiguous, test with a date whose lunar equivalent you already know, then see which input produces the right answer.
Why the lunar calendar matters here
Zi Wei assigns stars using the lunar month and lunar day. The month largely determines where the Life Palace sits, and the day determines where the Zi Wei star lands. Get the lunar date wrong and the entire chart moves under you, even though every individual step of the calculation is correct.
This is not a small offset. A one-day error can move the central star and change the palace structure. A one-month error produces a completely different chart that still looks perfectly plausible, which is what makes the mistake so hard to catch after the fact. The chart will not error out; it will simply describe a different person.
The leap month problem
The lunar calendar inserts a leap month roughly every three years. If you were born during one, the common practice in most schools is to treat it as the regular month it duplicates, but schools differ and some split the leap month at its midpoint, assigning the first half to the earlier month and the second half to the later one.
If a tool does not ask about leap months, it is making that decision for you. That is worth knowing, especially if your birthday falls in a leap month year, because the two conventions can produce materially different charts. Ask which rule the tool applies, and if the answer is unclear, cast both versions and compare.
- Lunar months are 29 or 30 days long
- A leap month repeats the previous month number
- Most tools handle leap months silently
- If your date is in a leap month, test both readings
The 11pm boundary
There is a second date trap. In traditional Chinese timekeeping the day begins at 23:00, not midnight, so a birth at 23:30 on a Tuesday can count as Wednesday in some schools. Combined with the lunar conversion, this can shift your birth day by one and therefore move the whole chart by one palace.
Some practitioners use midnight as the boundary instead. The two conventions produce different charts for a small slice of births, and there is no universal agreement about which is correct. If your birth time is between 23:00 and midnight, flag it to whoever reads the chart, and expect them to have an opinion.
What to enter in practice
Enter your Gregorian birth date and the exact local clock time at your birthplace, then check whether the resulting lunar date matches an independent conversion table. If it does not, the tool may be applying a different day boundary or a different month rule, and the rest of the chart is suspect until you resolve it.
If your birth was near midnight or in a leap month, note that in any reading you commission. A practitioner who ignores those two flags is not reading carefully. A practitioner who asks about them before you mention them is worth keeping.
| Situation | What to do |
|---|---|
| Tool asks for solar date | Enter Gregorian date and local clock time |
| Tool asks for lunar date | Convert first, then verify against a table |
| Born in a leap month | Note it and test both conventions |
| Born between 23:00 and midnight | Note it, the day boundary varies |
When the date is simply unknown
Some people do not have a birth certificate and only know a rough date. Say so. A reader can still work with a known year and month, and the reading will be less specific. A falsely confident chart built on a guessed day is worse than an honestly vague one, because the confident version will anchor you to details that were never real.
I built a Zi Wei Dou Shu chart engine that runs entirely in the browser — no signup, no server, birth data never leaves the device. If you want to see the result: mingpan-1xu.pages.dev


