Hi
I have encountered a problem when using the mktime function, which is particular to when converting some dates. I.e.
$x=mktime(0,0,0,3,30,3);
$y=mktime(0,0,0,3,31,3);
I would expect the difference to be 86400 (1 complete day in seconds). But I am getting 82800, which is one day minus 1 hour.
So I am guessing this is something to do with daylight savings time? By using an extra zero or one as outlined below, the difference is 86400, which is want I want, but is using this extra parameter in all my mktime function calls the correct thing to do?
$x=mktime(0,0,0,3,30,3,0);
$y=mktime(0,0,0,3,31,3,0);
OR
$x=mktime(0,0,0,3,30,3,1);
$y=mktime(0,0,0,3,31,3,1);
Regards
Andrew Blee.