Help for this page

Select Code to Download


  1. or download this
    use Time::Local;
    my $file = "foo";
    ...
    my $on_hour = timelocal(0, 0, $hour, $mday, $mon, $year);
    
    utime $atime, $on_hour, $file;
    
  2. or download this
    utime $on_hour, $on_hour, $file;