This repository keeps the util scripts to handle dates in python
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
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