Skip to main content

Check if a date is valid

Project description

Python is_valid_date

Coverage Quality Gate Status Maintainability Rating

Check if a date is valid

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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

is_valid_date-0.4.0.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

is_valid_date-0.4.0-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page