ok I have a variable that is $date. The problem is that the date comes in format 25-oct-03 and what I need to do is convert the month part to an actual number and the '03 part to 2003
so the code I have so far is
list($date,) = explode(" ",$st->token(","));
list($day,$mon,$year) = explode("-",$date);
what is the easiest way to do this?