$splitdate = $Array["ArrivDate"]; $splitdate = explode('-',$splitdate);
$Day = $splitdate[2]; $Month = $splitdate[1]; $Year = $splitdate[0];
I have this but it doesn't seem to quite correct I have ArrivDate coming in o.k.
Er, what's happening instead? I mean, assuming $Array['ArrivDate'] is of the form "y-m-d" then $Day, $Month, $Year ought to have the values you're after. At least, going by the code you've given, that is.
The date was arriving in the wrong format needed someone to look over my shoulder and point it out