Return to Snippet

Revision: 50157
at August 12, 2011 22:18 by nebojsac


Initial Code
$date_blocks=explode(' ',$send_date);
$send_date=$date_blocks[2].'-'.$date_blocks[1].'-'.$date_blocks[0];

Initial URL

                                

Initial Description
Switches 'dd mm yyyy' to 'yyyy-mm-dd'

Initial Title
Date Format Convert

Initial Tags
date, format, convert

Initial Language
PHP