Paul Clapham wrote:Who says the difference is 2 days? It's more like 1.0416667 days by my calculation.
But maybe An Sush doesn't like my calculation. That's no problem, it just means that An Sush has to define the correct calculation. But until that's done we can only post guesses here, and that isn't very helpful.
I guess going with Priety's approach is fine..Dividing by 3600 will give me the exact days that have passed by after a time and not the calendar date...
Just out of curosity..suppose we had to go with the other way around where finding the calendar date difference is the prime target and actual time has no significance...how can this be implemented so that it works for all the scenarios (date, time, leap year, month all taken into consideration)