rex.utilities.utilities.str_to_date

str_to_date(s)[source]

Convert a date string of format YYYYMMDD to date object.

Parameters:

s (str) – Date string of format YYYYMMDD

Returns:

d (datetime.date) – Date object.