Split Date into 3 variables
Posted: Sat Aug 30, 2014 10:47 am
hello,
i have a form that selects the date. it posts data as 03/05/2014 in 1 variable.. can someone tell me how i can implode it so that i can split the month day year
$date ="03/05/2014";
$date_month = $date['1'];
$date_day = $date['2'];
$date_year = $date['3'];
something like that i am guessing..
i have a form that selects the date. it posts data as 03/05/2014 in 1 variable.. can someone tell me how i can implode it so that i can split the month day year
$date ="03/05/2014";
$date_month = $date['1'];
$date_day = $date['2'];
$date_year = $date['3'];
something like that i am guessing..