Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1022 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 1022 Bytes

Date Utils

This repository keeps the util scripts to handle dates in python

Check given date is elapsed

This CLI utility//snippet can be used to check given date is elapsed/past.

This takes below parameters.

  • date -- The date to check. Provide the date in format yyyy-MM-dd. e.g. 2023-01-16

Usage example:

python is_elapsed_date.py --date 2023-01-16

Check given date is future date

This This CLI utility//snippet can be used to check given date is future date.

This takes below parameters.

  • date -- The date to check. Provide the date in format yyyy-MM-dd. e.g. 2023-01-16

Usage example:

python is_future_date.py --date 2023-01-16

Refer more details