I have a variable called $orderdate and it is set to a date format like this mm-dd-yyyy.
In PHP how would I split this variable into $month, $day, $year?
Tha
Use explode to split string
explode
list($m,$d,$y)=explode('-',$date);