I'm trying to use the strtotime() function to manage sessions. But I
get the following
<?php
print(time() . " - " . strtotime("+1 hour"));
?>
outputs:
1097380666 - 1097308800
Strange strtotime("+1 hour") produced a time stamp less than the
current time. It also never changes. In other words strtotime("+1
hour") always results in the time stamp 1097308800.
I have also tried strtotime("+1 hour", time()) with the same result
Is this correct, have I misunderstood the strtotime() function?
I'm running Gentoo with kernal 2.6.8.1, php 5.0.1, apache2
Thanks in advance.
Jason