[Python] Add one year in current date

Discussão em 'Python' iniciado por Stack, Setembro 1, 2025.

  1. Stack

    Stack Membro Participativo

    I have fetched a date from database with the following variable

    {{ i.operation_date }}


    with which I got a value like

    April 1, 2013


    I need to add one year to the above, so that I can get

    April 1, 2014


    Please suggest, how can I do this?

    Continue reading...

Compartilhe esta Página