On Fri, April 29, 2005 7:38 am, Bosky, Dave said:
> I'm trying to get a mysql datetime variable called $cdate formatted so
> it will print:
>
> Thursday, April 28, 2005 at 8:00:00 PM Eastern Time
>
> I tried the following but it's not perfect.
>
> --
> $newDate = date('I, F d, Y
I'm trying to get a mysql datetime variable called $cdate formatted so
it will print:
Thursday, April 28, 2005 at 8:00:00 PM Eastern Time
I tried the following but it's not perfect.
--
$newDate = date('I, F d, Y at g:i:s A T', $cdate);
echo $newDate;
--
2 matches
Mail list logo