Converting date between Julian and Lunar calendar

npm install amlich
10 downloads in the last month


build status

Hồ Ngọc Đức Lunar Calendar (Am lich) running i Nodejs

Go to the link bellow for more detail


jdFromDate(dd, mm, yyyy)

Calculate Julian day number (the number of days between 1/1/4713 BC (Julian calendar) and dd/mm/yyyy)


Convert a Julian day number to day/month/year

convertLunar2Solar(lunarDay, lunarMonth, lunarYear, lunarLeap, timeZone)

Convert a lunar date to the corresponding solar date

convertSolar2Lunar(dd, mm, yyyy, timeZone)

Comvert solar date dd/mm/yyyy to the corresponding lunar date

npm loves you