Module date

Module date 

Source
Expand description

Date and time validation functions

Functionsยง

is_valid_date
Validates if a string is in ISO 8601 date format (YYYY-MM-DD)
is_valid_datetime
Validates if a string is in ISO 8601 datetime format
is_valid_time
Validates if a string is a valid time in HH:MM:SS format