Help for this page

Select Code to Download


  1. or download this
        my $month = lc((split ' ',localtime)[1]);
    
  2. or download this
        my @months = qw( jan feb mar apr may jun jul aug sep oct nov dec )
    +;
        my $month = $months[ (localtime)[4] ];