Cody

Problem 43275. calculate the day of the year from a date string.

'09-Oct-2016' is the 283rd day of the year. So

doy = dayoftheyear('09-Oct-2016')

should return

doy = 283

Solution Stats

52.27% Correct | 47.73% Incorrect
Last Solution submitted on Mar 20, 2020