← Templates

Date (ISO 8601)

Category: dates

/^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/

YYYY-MM-DD date format

Open in sandbox →