이 게시물에 활동이 있으면 알림 받기
hi,
i need to know how to add 55 years for current date time in odoo.
Hi,
Try this,
from datetime import datetime, timedelta date_55_year_after =datetime.now()+timedelta(months=660)
Like the months used above you can give days and year.
NB : 660 = 12 months * 55 years
Thanks
지금 바로 가입하여 독점 서비스를 이용해보고 특별한 커뮤니티와 소통하세요!
1. Use the live chat to ask your questions. 2. The operator answers within a few minutes.