Help for this page

Select Code to Download


  1. or download this
    use Time::localtime;
    $tm = localtime($time); 
    printf("Dateline: %02d:%02d:%02d-%04d/%02d/%02d\n",
    $tm->hour, $tm->min, $tm->sec, $tm->year+1900,
    $tm->mon+1, $tm->mday);