in odoo10 datetime_obj = datetime.strptime('01-Jan-2020', '%d-%m-%y')
- ValueError: unconverted data remains: 20
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
in odoo10 datetime_obj = datetime.strptime('01-Jan-2020', '%d-%m-%y')
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
Registrieren
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Playing with dates:
1- http://learnopenerp.blogspot.com/2018/02/python-timedelta.html
2- http://learnopenerp.blogspot.com/2018/02/python-strftime-datetime-formatting.html
3- http://learnopenerp.blogspot.com/2018/01/python-date-manipulation.html
4- http://learnopenerp.blogspot.com/2016/09/how-to-convert-datetimedate-to.html