$month < 10 and $month = '0' . $month;
In reply to Re^2: Regular Expression by tinita in thread Regular Expression by Anonymous Monk