💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
从1月1日开始累积的当年天数。例如1月2日,位于当年第2天,2月1日,位于当年第32天。 1. SolarUtil.getDaysInYear(year, month, day) > 返回位于当年第几天 > `year`:阳历年(数字)。 > `month`:阳历月(数字)。 > `day`:阳历日(数字)。 ### 示例代码 ``` console.log(SolarUtil.getDaysInYear(2023, 12, 1)); ```