get_date

DatesTimes.get_date()

This gets a date string of the form YYY-MM-DD from the command line or requests it from the user. It returns the string, and the year, month, day and day of year.