in reply to Reg expression on day
substr($_,3,2) += 0;
This will work only if the month always has two digits.