pub fn validate_datetime(value: &str, format: &str) -> Result<(), String>
Expand description

Validates the given datetime against the pattern