LeetCode //C - 1154. Day of the Year
1154. Day of the Year
Given a string date representing a Gregorian calendar date formatted as YYYY-MM-DD, return the day number of the year.
Example 1: Input: date “2019-01-09” Output: 9 Explanation: Given date is the 9th day of the year in 2019. Ex…
2026/7/18 5:48:30