jim, on 24 September 2009 - 07:56 PM, said:
/* We need to take the month value and turn it into one without a leading 0 */
if((substr($this->month, 0, 1)) == 0)
{
// if value is between 01 - 09, drop the 0
$tempMonth = substr($this->month, 2); //The 2 should be 1 if you want the second character.
$this->month = $tempMonth;
}
I didn't try it so its not tested.
That was it. Thank you!
Jim

Help












