I am correct in thinking that the DaysBetween() function takes no account of leap years?
I had a look at the sources and it gets the difference between the two dates in milliseconds using DateTimetoMilliseconds() on the Start and end dates.
DateTimeToMilliseconds uses DateTimeToTimeStamp which is written in assembler, I really don't know if the data part of the array that is filled here is taking account of leap years.
My results seem to suggest that it isnt, but it might just be a difference error on my part i.e I am displaying the difference between the two dates and not the taking account of the current (start) and end dates.
Steve: N.M.N.F.
If something is popular, it must be wrong: Mark Twain
That's just perfectly normal Paranoia everyone in the universe has that: Slartibartfast
I had a look at the sources and it gets the difference between the two dates in milliseconds using DateTimetoMilliseconds() on the Start and end dates.
DateTimeToMilliseconds uses DateTimeToTimeStamp which is written in assembler, I really don't know if the data part of the array that is filled here is taking account of leap years.
My results seem to suggest that it isnt, but it might just be a difference error on my part i.e I am displaying the difference between the two dates and not the taking account of the current (start) and end dates.
Steve: N.M.N.F.
If something is popular, it must be wrong: Mark Twain
That's just perfectly normal Paranoia everyone in the universe has that: Slartibartfast