The relativedelta type, as defined by the datutil module, is designed to be applied to an existing datetime and can replace specific components of that datetime, or represents an interval of time.
I wish to get the total duration of a relativedelta in terms of days. Expected: dateutil.timedelta(1 month, 24 days) -&…
python python-dateutil relativedelta