semvec/pypi-packages huggingface dataset:
is-valid-date 0.4.0
Check if a date is valid
License: MIT
Keywords: valid date,check date,validate date

# Python is_valid_date

[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=rogervila_python_is_valid_date&metric=coverage)](https://sonarcloud.io/dashboard?id=rogervila_python_is_valid_date)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=rogervila_python_is_valid_date&metric=alert_status)](https://sonarcloud.io/dashboard?id=rogervila_python_is_valid_date)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=rogervila_python_is_valid_date&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=rogervila_python_is_valid_date)


Check if a date is valid

```py
from is_valid_date import check

if check(mydate):
    # mydate is a valid date
    do_something()
else:
    # mydate could not be parsed as a date object
    do_other_things()

```