Hi everybody ;)
Please who does know how to get the month of a field type DATE??!!!
Thanks a lot
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi everybody ;)
Please who does know how to get the month of a field type DATE??!!!
Thanks a lot
Hi,,
Try this script:-
date = datetime.strptime(date_field, DEFAULT_SERVER_DATE_FORMAT)
month = date.month
Hope this helps..
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
How to send email in openerp by python code
Diselesaikan
|
|
4
Okt 16
|
31256 | |
|
1
Sep 15
|
3925 | ||
|
1
Jun 15
|
844 | ||
|
0
Apr 15
|
690 | ||
|
2
Apr 15
|
867 |