## 获取某天位于当年第几天 从1月1日开始累积的当年天数。例如1月2日,位于当年第2天,2月1日,位于当年第32天。 1. SolarUtil.getDaysInYear(year, month, day) > 返回位于当年第几天
year
:阳历年(数字)。
month
:阳历月(数字)。
day
:阳历日(数字)。 ### 示例代码 console.log(SolarUtil.getDaysInYear(2016, 3, 1)); ### 输出