I have a datetime object called dt
and I want to get the next date which 0.93 years away from it. I was trying relativedelta
but it seems that the function cannot take fractional years.
dt = datetime.datetime(2012, 4, 30)
dt + relativedelta(years = 0.93)
>> ValueError: Non-integer years and months are ambiguous and not currently supported.
Any help is appreciated.