Hi,

My UK dates are this format DD/MM/YYYY I want it reversed and then the 
seperator changed so it becomes YYYY-MM-DD

I use this PHP at the moment

$available_from = implode('/', array_reverse(explode('-', $available_from)));

Ta,

R.

Reply via email to