Return to Snippet

Revision: 15922
at July 21, 2009 07:33 by martin_rusev


Initial Code
function format_date($original='', $format="%d.%m.%Y") 
{ 

return (!empty($original) ? strftime($format, strtotime($original)) : "" ); 
		
}

Initial URL

                                

Initial Description

                                

Initial Title
PHP format mysql date

Initial Tags
date, format

Initial Language
PHP