1 2 3 4 5
import datetime def ConvertStringToDate(s): d = datetime.datetime.strptime(matdate '%Y-%m-%d') return d
Sign in to leave a comment.