Forum Moderators: open
i've got a function which checks that there are minimum 3 days between 2 dates.
currently i convert to milliseconds and subtract one from the other and check that it is < 24*3600*1000*3
but this is giving me problems if i check dates around the 27th march - which is when summer time starts - i lose an hour and the function returns negative even there are 3 days in between.
is there a way around this particular problem?
many thanks!