i'm looking for it but timedelta retun the difference from 2 date ,
i need to add 30 days to a date
like my example
i have a date field and an integer field with the number of days,
i wanna add the number of days to a data field.

(i'm not an expert pyton programmer)



On 3 Giu, 16:32, Iceberg <[email protected]> wrote:
> Search doc for python built-in timedelta please.
>
> On Jun3, 10:30pm, ceriox <[email protected]> wrote:
>
> > hi,
> > how i can increment a data field of x days?
>
> > example
> > i have
> > db.Prestiti.Data_richiesta=2010-06-03 16:13:14
> > db.Prestiti.Durata=30
>
> > i want generate
> > fineprestito=2010-07-03 16:13:14
>
> > i wanna add 30 days to a data field

Reply via email to