1154. Day of the Year
Description
**Input:** date = "2019-01-09"
**Output:** 9
**Explanation:** Given date is the 9th day of the year in 2019.**Input:** date = "2019-02-10"
**Output:** 41**Input:** date = "2003-03-01"
**Output:** 60**Input:** date = "2004-03-01"
**Output:** 61ac
Last updated