I have found taken to leaving the date in seconds since january 1, 1970 as supplied by 'time'.<br><br>That way data comparisons, subtraction, etc is extremely simple. If wanted to see if the saved date was older that 30 days, <br><br>1 - read $saved date from file <br>2 - get current date with '$date = time;'<br>3 - how many seconds in 30 days - $month = ( 60sec x 60min x 24hr x 30days)<br>4 - if ($date - $month > $saved) { do something; } <br><br>maybe this helps?? <p> <br><a href=mailto: > </a><br><a href= > </a><br> keep the rudder amid ship and beware the odd typo