parse_date

DatesTimes.parse_date(ses_date)

This parses a date string of the form YYYY-MM-DD and returns the string, year, month, day and day of year.