Posted by Angelos on 06/16/05 17:36
> Use the date or datetime field type - the exact name of the type depends
> on your DBMS.
>
>> And if you can let me know how you can Display that date back in the
>> Screen !
OK so I am using MySQL and I store it in a DATETIME datatype in the MySQL DB
in the folowing format :
$date = date("YmdHis");
So how you would display that ?
Is teh folowing correct ?
date('d M Y',strtotime(row['log_date']))
Navigation:
[Reply to this message]
|