
Kristian
New User
Apr 1, 2009, 5:15 AM
Post #2 of 2
(657 views)
|
Hi again, This was a newbie question, sorry for pasting it in the advanced forum.. the answer to my own question is ($sec, $min, $hour, $day, $month, $year, @stuff) = localtime(time - 86400); print join(' ' , $sec, $min, $hour, $day, $month, $year ); because localtime calculate the date in seconds, and a day is 86400 :) good day to you
|