Add date format validation

Could you check for `=== FALSE` explicitly here like it's said in the `strtotime` documentation.