Day of the Year
Last updated
Last updated
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: 41Input: date = "2003-03-01"
Output: 60Input: date = "2004-03-01"
Output: 61