Help for this page

Select Code to Download


  1. or download this
    use POSIX;
    
    my $filename = strftime( "%Y%m%d%H%M%S.log", localtime );
    print "lets open a file called $filename ...\n";
    
  2. or download this
      strftime( "%Y%m%d_%H%M%S.log", localtime );