Referring to the book o' Camel... ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime(time); $mon has the range 0..11 $wday has the range 0..6 $year has 1900 subtracted from it already Hope this helps you, or helps others witht the same predicament. Tim