rex.utilities.utilities.str_to_datetime

str_to_datetime(s)[source]

Convert a date string of format YYYYMMDD to datetime object.

Parameters:

s (str) – Date string of format YYYYMMDD

Returns:

d (datetime.datetime) – Datetime object.