Publisher review:Logwriter can return the date of Chinese lunar calendar which is corresponding to the Gregorian calendar. Range from Jan 1st,1901 to Feb 11th,2021. This function can return the date of Chinese lunar calendar which is corresponding to the Gregorian calendar. Range from Jan 1st,1901 to Feb 11th,2021. How to use: Array getchinesedate(int year,int month,int day); year,month,day are the year, month, day of the Gregorian calendar. Returns an array with 6 elements. Index 0 contains the year of the Chinese lunar calendar, index 1 contains the month of it. index 2 is the day of it, index 3 contains 1( if the month is a leap month ) and 0 ( if not ), index 4 is the Heavenly Stems of the Chinese lunar calendar, and index 5 contains the Earthly Branches of it. The Chinese Lunar Calendar is a yearly one, with the start of the lunar year being based on the cycles of the moon. Therefore, because of this cyclical dating, the beginning of the year can fall anywhere between late January and the middle of February. A complete cycle takes 60 years and is made up of five cycles of 12 years each. A cycle of Twelve Terrestrial Branches5 (Zi, Chou, Yin, Mao, Chen, Si, Wu, Wei, Shen, You, Xu, Hai), correlated with Ten Celestial Trunks6 (Jia, Yi, Bing, Ding, Wu, Ji, Geng, Xin, Ren, Gui), forms sixty units to mark the year, month, day and hour. And each unit has its own name, for example, General Jinbian of the Supreme Year Jiazi, General Chencai of the Supreme Year Yichou, etc.
Logwriter is a PHP script for Snippets scripts design by anna.
It runs on following operating system: Windows / Linux / BSD / Solaris.
Logwriter can return the date of Chinese lunar calendar which is corresponding to the Gregorian calendar. Range from Jan 1st,1901 to Feb 11th,2021.
Operating system:Windows / Linux / BSD / Solaris