This may give you what you need:
date("M d Y H:i:s",$timestamp)
On another note, is there a builtin command to change
time display from 19:00 to 7:00 pm?
Tom Hodges
On 3 May 2002 at 13:31, Tom Ansley wrote:
> I am writing timestamps to file and the formatting is currently 2002-06-06
> 00:00:00.0. Is there a function to only write the date and also to format it
> something like MM/dd/yyyy ?
>
> Thanks
>
> Tom
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>