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