Add a check for strptime().