Standard timedelta only supports days and weeks. With relativedelta , you can add months or years directly.
Here is everything you need to know about how to download, install, and start using dateutil today. 1. How to Download and Install dateutil download dateutil
The easiest way to get dateutil is via , the Python package manager. Unlike the standard library, you must install it manually before you can import it into your projects. Standard Installation Open your terminal or command prompt and run: pip install python-dateutil Use code with caution. Verification Standard timedelta only supports days and weeks