Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
How Can I make this end_time = datetime.now()
in seconds only,
I have a start_time = datetime.now() and a end_time datetime.now()
I want to find the difference in seconds.
How can I do that in python.?
I have testet this: with start_time = datetime.now() and end_time = datetime.now()
start_time = 2016-06-30 07:15:26.273169
end_time = 2016-06-30 07:15:26.273153
Then I do a final_time = (end_time - start_time).total_seconds()
it give me this back: float -1.6e-05
How can I convert this in hours and minutes?
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 6/29/16, 10:12 AM|
|Seen: 920 times|
|Last updated: 7/4/16, 2:53 AM|