我が家の2010年問題

($sec,$min,$hour,$mday,$mon,$year,$wno) = localtime($timex);

< $year = substr($year,1,2);

---

> $year = substr($year,2,2);

$timex_sp = sprintf("%02d/%02d/%02d %02d:%02d",$year,$mon+1,$mday,$hour,$min);

今年もよろしくお願いします。