my ( $y, $m, $d ) = ( localtime )[ 5, 4, 3 ]; ++$m; $year += 1900;