Chinese almanacWednesday 22 July 1998 · the 29th day of the leap 5th month (闰五月廿九), the year of the Earth Tiger

The day

Suitsmending walls, stopping up holes, making nets, laying the dead in the coffin, putting off mourning, putting on mourning, moving a coffin, burial and opening a grave to rebury; nothing else (宜 补垣 塞穴 结网 入殓 除服 成服 移柩 安葬 启钻 馀事勿取)
Not foranything (忌 诸事不宜)
Day officerClose (闭 Bi): a day for closing, storing and endings
Spirit of the dayHeavenly Prison (天牢 Tian Lao), of the black path: an unlucky day
LodgeThree Stars (参 Shen), lucky
ClashWith the Rat: a day for those born in its years to go carefully. The sha is in the north.
GodsJoy in the north-west, wealth in the east
PillarsYear Wu Yin 戊寅, month Ji Wei 己未, day Geng Wu 庚午
Na yinEarth by the Roadside (路旁土), the day's sound
PengzuOn Geng days do not string the loom, or it stands idle. On Wu days do not thatch a roof, or the house changes hands. (庚不经络织机虚张,午不苫盖屋主更张)

The hours

HourPillarSpiritClash
Rat
23:00 to 01:00
Bing Zi 丙子Golden Coffer · yellow path, luckyHorse
Ox
01:00 to 03:00
Ding Chou 丁丑Heavenly Virtue · yellow path, luckyGoat
Tiger
03:00 to 05:00
Wu Yin 戊寅White Tiger · black pathMonkey
Rabbit
05:00 to 07:00
Ji Mao 己卯Jade Hall · yellow path, luckyRooster
Dragon
07:00 to 09:00
Geng Chen 庚辰Heavenly Prison · black pathDog
Snake
09:00 to 11:00
Xin Si 辛巳Black Tortoise · black pathPig
Horse
11:00 to 13:00
Ren Wu 壬午Life Governor · yellow path, luckyRat
Goat
13:00 to 15:00
Gui Wei 癸未Hook · black pathOx
Monkey
15:00 to 17:00
Jia Shen 甲申Azure Dragon · yellow path, luckyTiger
Rooster
17:00 to 19:00
Yi You 乙酉Bright Hall · yellow path, luckyRabbit
Dog
19:00 to 21:00
Bing Xu 丙戌Heavenly Punishment · black pathDragon
Pig
21:00 to 23:00
Ding Hai 丁亥Vermilion Bird · black pathSnake

What each hour suits

HourSuitsNot for
Ratnothing in particularanything
Oxpraying for blessings, praying for children, travel, seeking wealth, marriage, burial and offeringsnothing in particular
Tigergetting engaged, marriage, travel, seeking wealth, opening a business, trading, setting up a bed, taking up a post and meeting people of rankpraying for blessings and praying for children
Rabbitpraying for children, getting engaged, marriage, building and repairs, moving into a new home, seeking wealth, opening a business, trading, burial, taking up a post, travel and meeting people of rankofferings, praying for blessings, Taoist rites and thanking the gods
Dragonofferings, praying for blessings, praying for children, Taoist rites, getting engaged, marriage and burialtaking up a post, building and repairs, moving house, travel and going to law
Snakepraying for children, marriage, moving house, moving into a new home, opening a business, trading, burial and praying for blessingstaking up a post, travel, building and repairs and breaking ground
Horsethanking the gods, getting engaged, marriage, seeking wealth, moving into a new home, burial and building a stoveofferings, praying for blessings, Taoist rites, consecrating images, taking up a post and travel
Goatpraying for children, getting engaged, marriage, seeking wealth, opening a business, trading and setting up a bedofferings, praying for blessings, Taoist rites, consecrating images, taking up a post and travel
Monkeytaking up a post, travel, seeking wealth, meeting people of rank, getting engaged, marriage, moving into a new home, opening a business and praying for blessingsconsecrating images, building and repairs and burial
Roosterpraying for children, marriage, moving house, moving into a new home, opening a business, trading, building and repairs, burial, taking up a post, travel and seeking wealthnothing in particular
Dogpraying for blessings, praying for children, getting engaged, marriage, seeking wealth, opening a business, trading and setting up a bedraising the ridge beam, roofing, laying the dead in the coffin, taking up a post and travel
Pigbuilding and repairs, moving into a new home, burial, meeting people of rank, marriage, taking someone into the household and moving housetaking up a post, travel and seeking wealth

The six yellow path hours, the lucky ones, are marked. The hours are clock hours where you are; the Rat's begins at 23:00 the evening before.

July 1998

DateLunarDayOfficerSpiritClash
Wed 1闰五月初八Ji YouBalanceBright Hall · yellowRabbit
Thu 2闰五月初九Geng XuStableHeavenly Punishment · blackDragon
Fri 3闰五月初十Xin HaiInitiateVermilion Bird · blackSnake
Sat 4闰五月十一Ren ZiDestructionGolden Coffer · yellowHorse
Sun 5闰五月十二Gui ChouDangerHeavenly Virtue · yellowGoat
Mon 6闰五月十三Jia YinSuccessWhite Tiger · blackMonkey
Tue 7闰五月十四Yi MaoSuccessHeavenly Virtue · yellowRooster
Wed 8闰五月十五Bing ChenReceiveWhite Tiger · blackDog
Thu 9闰五月十六Ding SiOpenJade Hall · yellowPig
Fri 10闰五月十七Wu WuCloseHeavenly Prison · blackRat
Sat 11闰五月十八Ji WeiEstablishBlack Tortoise · blackOx
Sun 12闰五月十九Geng ShenRemoveLife Governor · yellowTiger
Mon 13闰五月二十Xin YouFullHook · blackRabbit
Tue 14闰五月廿一Ren XuBalanceAzure Dragon · yellowDragon
Wed 15闰五月廿二Gui HaiStableBright Hall · yellowSnake
Thu 16闰五月廿三Jia ZiInitiateHeavenly Punishment · blackHorse
Fri 17闰五月廿四Yi ChouDestructionVermilion Bird · blackGoat
Sat 18闰五月廿五Bing YinDangerGolden Coffer · yellowMonkey
Sun 19闰五月廿六Ding MaoSuccessHeavenly Virtue · yellowRooster
Mon 20闰五月廿七Wu ChenReceiveWhite Tiger · blackDog
Tue 21闰五月廿八Ji SiOpenJade Hall · yellowPig
Wed 22闰五月廿九Geng WuCloseHeavenly Prison · blackRat
Thu 23六月初一Xin WeiEstablishBlack Tortoise · blackOx
Fri 24六月初二Ren ShenRemoveLife Governor · yellowTiger
Sat 25六月初三Gui YouFullHook · blackRabbit
Sun 26六月初四Jia XuBalanceAzure Dragon · yellowDragon
Mon 27六月初五Yi HaiStableBright Hall · yellowSnake
Tue 28六月初六Bing ZiInitiateHeavenly Punishment · blackHorse
Wed 29六月初七Ding ChouDestructionVermilion Bird · blackGoat
Thu 30六月初八Wu YinDangerGolden Coffer · yellowMonkey
Fri 31六月初九Ji MaoSuccessHeavenly Virtue · yellowRooster

How the almanac reckons the day

What a day suits (yi, 宜) and is not for (ji, 忌) follows from its month and its place in the sixty-day cycle, by rules the almanac makers drew together from older books; the lists here are lunar_python's, which works them out the way the printed almanacs do.

The Chinese almanac, the Tung Shing (通勝), gives each day a set of reckonings from its place in the calendar. The day officer is the day's branch counted from the month's: Establish on the day whose branch is the month's own, then Remove, Full and the rest in turn, the month turning on the day of each of the twelve jie terms. The spirits run in a fixed order of twelve from the Azure Dragon, which in the Tiger and Monkey months stands on the Rat day, two branches on for each month after; six of them, the Azure Dragon, the Bright Hall, the Golden Coffer, Heavenly Virtue, the Jade Hall and the Life Governor, are the yellow path, the lucky days. The hours have spirits too, set from the day's branch in the same way.

The lodges of the days run on unbroken, one a day, twenty-eight to a round and four weeks to it, so each lodge keeps its weekday. They take the names of the twenty-eight lunar lodges, but they are a count of days, not the Moon's place among the stars: for that, see the lunar mansions. A day clashes with the animal opposite its own branch, and the sha (煞) is the direction the almanac warns against that day: south on the days of the Rat, Dragon and Monkey, north on the Tiger's, Horse's and Dog's, west on the Pig's, Rabbit's and Goat's, east on the Snake's, Rooster's and Ox's. The gods of joy and wealth stand where the day's stem puts them.

The na yin, the “sound”, gives each pair of the sixty-day cycle a phase and an image of its own, thirty in all, from Gold in the Sea to Water of the Great Sea. Pengzu's taboos, named for the long-lived Pengzu of legend, are two old sayings for each day, one for its stem and one for its branch, each naming a thing not to do that day.

The lunar date and every reckoning here is held to lunar_python, an open-source implementation of the Chinese calendar, for every day of 2026 and two thousand others from 1901 to 2099, and the first day of every lunar month in those years. The day is the date in China; the hours are the same everywhere by the clock.

Questions

What does the Chinese almanac say for 22 July 1998?
22 July 1998 is the 29th day of the leap 5th month (闰五月廿九) in the Chinese calendar, a Geng Wu day. Its day officer is Close (Bi), a day for closing, storing and endings; its spirit the Heavenly Prison, of the black path, an unlucky day; and it clashes with the Rat. It suits mending walls, stopping up holes, making nets, laying the dead in the coffin, putting off mourning, putting on mourning, moving a coffin, burial and opening a grave to rebury; nothing else, and is not for anything.
What are the lucky hours on 22 July 1998?
The yellow path hours: the Rat hour, 23:00 to 01:00; the Ox hour, 01:00 to 03:00; the Rabbit hour, 05:00 to 07:00; the Horse hour, 11:00 to 13:00; the Monkey hour, 15:00 to 17:00; the Rooster hour, 17:00 to 19:00. The other six are of the black path.