$month=substr("0".$month,-2); [download]
In reply to Re: Regular Expression by chanio in thread Regular Expression by Anonymous Monk