Skip to content

阴历年,生辰八字,24节气日期,节令月等计算

License

Notifications You must be signed in to change notification settings

xiaofan9/calculate-birthdays

Repository files navigation

calculate-birthdays

阴历年,生辰八字,24节气日期,节令月等计算

示例

// 如
const { calculateBirthdays } = require('./index');

// 2020年02月02日8时 => 庚子年戊寅月甲戌日戊辰时
console.log(calculateBirthdays(new Date('2020-02-02')))