Hello;
Please, who knows how to compare to fields datetime in odoo v8.
Thanks a lot in advance
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello;
Please, who knows how to compare to fields datetime in odoo v8.
Thanks a lot in advance
Follow this Link https://docs.python.org/2/library/datetime.html and read the python datetime doc
Thanks a lot for the link
Dear Drees Far,
I think this example may be use full
>>> from datetime import datetime
>>> past = datetime.now()
>>> present = datetime.now()
>>> past < present
True
>>> datetime(2012, 1, 1) > present
False
>>> present - datetime(2000, 4, 4)
datetime.timedelta(4242, 75703, 762105)
Regards,
Ankit H Gandhi
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
|
0
mar 25
|
2047 | |||
|
0
gen 25
|
4351 | |||
|
1
ago 23
|
15963 | |||
|
change password
Risolto
|
1
ago 23
|
14540 | ||
|
1
lug 23
|
11859 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.