Help for this page

Select Code to Download


  1. or download this
    $time = time() - (86400 * $numOfDays);
    ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($tim
    +e);
    $mon++;
    $year = $year + 1900;
    
  2. or download this
    $time = time() - (86400 * $numOfDays);
    $realTime = localtime($time);
    
    print scalar $realTime;