Convert a date string of format YYYYMMDD to datetime object.
s (str) – Date string of format YYYYMMDD
d (datetime.datetime) – Datetime object.