Nice tip!, thanks.

On Apr 26, 10:09 pm, Brian M <bmere...@gmail.com> wrote:
> Also try the dateutil module fromhttp://niemeyer.net/python-dateutil
>
> examples:
>
> >>> NOW = datetime.now()
> >>> NOW+relativedelta(months=+1, weeks=+1)
>
> datetime.datetime(2003, 10, 24, 20, 54, 47, 282310)
>
> >>> relativedelta(datetime(2003, 10, 24, 10, 0), TODAY)
>
> relativedelta(months=+1, days=+7, hours=+10)

Reply via email to