date_string = '01/12/2011'
date_object = date(*map(int, reversed(date_string.split('/'))))
assert date_object == datetime.strptime(date_string, '%d/%m/%Y').date()
Convert string date to timestamp in Python