Re: Hi How to convert the time from mysql(DATETIME) table to the format DD/MM/YYYY HH:MM AM or PM in PHP?
| From: | Faisal Abdullah | Date: | Wed, 13 Mar 2002 01:33:32 +0000 |
| Subject: | Re: Hi How to convert the time from mysql(DATETIME) table to the format DD/MM/YYYY HH:MM AM or PM in PHP? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-88279@lists.php.net to get a copy of this message | ||
Try
date("d/m/Y h:m A");
On Tuesday 12 March 2002 18:29, Balaji Ankem wrote:
> Hi,
> I have stored the date and time in mysql table with DATETIME
> type.
>
> I want to change it in to DD/MM/YYYY HH:MM AM or PM.
>
> How can I do this?
>
> Thanks in advance
> Balaji