Help for this page

Select Code to Download


  1. or download this
    my ($year, $month, $day) = (localtime)[5,4,3];
    $timestamp = sprintf "%04i%02i%02i",$year+1900,$month,$day;
    
  2. or download this
    $timestamp = join('.',$year,$month,$day);