Hi Friends,
I need to calculate time. Following is the scenario:
End Time : 22:15:59
Started Before: 2586 secs
How will you calculate Exact start Time can you please suggest the formula or way of calculation.
There are 60 seconds in a minute and 60 minutes in an hour.
Hence:
1 minute = 60 s
1 hour = 3600 seconds.
So the first thing to do is divide your total amount be 3600, and then subtract the remainder, and that is how many hours have passed:
$\displaystyle \frac{2586}{3600} < 1 $ So no hours pass.
Note divide your number by 60 to see how many hours pass:
$\displaystyle \frac{2586}{60} = 43.1 $, so 43 minutes have passed.
Now how many seconds? WEll the remainder from the minutes was 0.1. So what is 0.1 minutes in seconds??
$\displaystyle 0.1\text{ minutes} = 0.1 \times 60 \text{ seconds} = 6 \text{ seconds} $
So 43 minutes and 6 seconds have passed.