Revision: 5945
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 15, 2008 14:39 by isaac
Initial Code
//This code is extracted from the comments on the php.net docs # Date: y-m-d => d-m-y $time =explode("-","2008-01-01"); krsort($time); print implode("-",$time); //Will return: 01-01-2008.
Initial URL
http://www.php.net/manual/es/function.date.php#81946
Initial Description
This changes the date format from y-m-d to d-m-y on PHP. It's easy to change the - to / or spaces...
Initial Title
Easy transform date format y-m-d => d-m-y on PHP
Initial Tags
php, date, format
Initial Language
PHP