Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 298 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 298 Bytes

calculate-birthdays

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

示例

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

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