Z
Z
Zhenia Bel2022-01-12 00:32:45
Mathematics
Zhenia Bel, 2022-01-12 00:32:45

How to write a formula for counting time?

I need to write a formula for calculating time, for example, there is a date with the time 12/12/2021 16:20 and 12/13/2021 12:25, I need to find out how much time has passed

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alekseiami, 2022-01-27
@alekseiami

I would overtake all the necessary date + time sets into timestamps, subtract and translate the resulting timestamp back into date + time.
Python has the corresponding libraries.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question