RE: [PHP-DB] Formating TimeStamp

From: Date: Wed, 17 Oct 2001 01:53:22 +0000
Subject: RE: [PHP-DB] Formating TimeStamp
Groups: php.db 
Request: Send a blank email to php-db+get-13405@lists.php.net to get a copy of this message
probably just 1. cut into actual elements (substr()) 2. create unix timestamp from those elements (mktime()) 3. use date() function to format // -----Original Message----- // From: Jason L. West [mailto:west.jason@salestek.com] // Sent: Wednesday, 17 October 2001 8:42 AM // To: php-db@lists.php.net // Subject: [PHP-DB] Formating TimeStamp // // // I am finding it hard to find an answer to a what I assume a // common question. // What is the best way of formatting results of a timestamp from MySQL? // // Current time stamp appears as: // // 20011016192904 // // Which in translation is Year, Month, Day, Hour, Minute, Seconds // // Any suggestions? // // Thanks // // -- // Jason L. West, Sr. // Web Architect // SalesTek Inc. // // // // -- // PHP Database Mailing List (http://www.php.net/) // To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net // For additional commands, e-mail: php-db-help@lists.php.net // To contact the list administrators, e-mail: // php-list-admin@lists.php.net //

« previous php.db (#13405) next »