Howdy,

I need to back up two days from localtime and I can't figure out how to do
it. Currently I'm doing this just so I can work out the rest of the program:

($day, $month, $year) = (localtime) [3,4,5]; #getting your local time 
information
$realday = $day-2;
if ($realday<1) {$realday = 30} else {$realday = $day-2};

.... but that's a very cheesy and occasionally wrong workaround.

This is probably a stupid question hopefully not the stupidest question 
you've ever
seen. I hope.

Thanks,

Tara


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to