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..
Create an account today to enjoy exclusive features and engage with our awesome community!
РеєстраціяRelated Posts | Відповіді | Переглядів | Дія | |
---|---|---|---|---|
|
4
жовт. 16
|
31284 | ||
|
1
вер. 15
|
3946 | ||
|
1
черв. 15
|
858 | ||
|
0
квіт. 15
|
696 | ||
|
2
квіт. 15
|
882 |