Revision: 8449
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 23, 2008 04:37 by gfazioli
Initial Code
/** * Formatta una data dal formato yyyy-mm-dd hh:mm:ss in yyyymmddhhmmss */ function plainDate( $d ) { $pd = explode(' ', $d); $dd = explode('-', $pd[0]); $hp = explode(':', $pd[1]); return( $dd[0].$dd[1].$dd[2].$hp[0].$hp[1].$hp[2] ); }
Initial URL
Initial Description
Format date from yyyy-mm-dd hh:mm:ss TO yyyymmddhhmmss
Initial Title
PHP Plain date format
Initial Tags
php, date, format
Initial Language
PHP