I want to know how I can calculate the difference of two dates by days, hours, minutes, and seconds.
Let's say today is 11/06/99 12:00:00pm
And I want to know how many days. hours, minutes and secondsthere are to get to 14/06/99 1:00:00pm. Can you suggest an algorithm?
Thanks for reading