time from Mysql to php

From: Date: Sat, 30 Dec 2000 00:32:24 +0000
Subject: time from Mysql to php
Groups: php.db 
Request: Send a blank email to php-db+get-5514@lists.php.net to get a copy of this message
I have several tables that use a date field but for the life of me I can't figure how to use the values to show dates/times in various formats in PHP. The gist of it is, I capture timestamps in a MySQL record as '20001229162800'. I need to use this value to show a time/date in PHP but none of the PHP date/time functions seem to recognize this as a valid date string. Do I need to perform a conversion on this string in order to further format it in display? TIA. Kevin McCarthy Body & Soul http://www.bodynsoul.com

« previous php.db (#5514) next »