Help for this page

Select Code to Download


  1. or download this
    sub makeDate {
      my ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = l
    +ocaltime(time);
    ...
              $mon, $mday, $year,
              $hour, $min, $sec;
    }
    
  2. or download this
    sub makeDate {
      require POSIX;
      POSIX::strftime("%m_%d_%Y_%H%M%S", localtime(time));
    }