To day you will learn How to convert datetime.date to datetime.datetime.
#converting datetime.date to datetime.datetime
start_date = datetime.strptime(s_date.strftime('%Y%m%d'), '%Y%m%d')
Date formatting in Qweb reports (dd-mm-yy):
<h5 class="pull-right" style="position:relative; top: 2px; margin:0;"><u>Printed Date: <span t-esc="time.strftime('%d-%b-%Y')"></span></u></h5>
- Home
- ERP
- _Odoo / OpenERP
- __Odoo
- __Odoo13
- __Odoo14
- __Odoo15
- _Odoo Reporting
- __Odoo QWEB Reporting
- __Odoo Jasper Reporting
- Programming
- _Python
- _Tkinter Python (GUI)
- _Django
- _C++
- _C#
- Database
- _PostgreSQL
- Artificial Intelligence
- _Deep Learning
- Mobile Apps Development
- _Android
- _IOS
- _Windows Phone
- _Ionic
- _Cordova
- _Node JS
- _Angular JS
- _WPF
- CMS
- _Blogger (Blogspot)
- _Wordpress
- Digital Marketing
- _Adsense
- Online Digital Marketing Tools
- _SEO
- _Email Marketing
- _Web
- _YouTube
- _Image
- _Text
- _PDF
- Academic Resources
- _Download Books (PDF)
- _Assignment and Exercises
- Learn OpenERP Training Programs
- __Online Python Training
- __Online Odoo Technical Training
0 Comments