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..
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
4
oct 16
|
31256 | ||
|
1
sept 15
|
3925 | ||
|
1
jun 15
|
844 | ||
|
0
abr 15
|
690 | ||
|
2
abr 15
|
867 |