How to insert this kind of date

Hi, can i ask some help how can i insert this kind of date

07:39:49 Jul 15, 2012 PDT

Thank you in advance.

The command to convert a date to a text string in that format is:

$date->format(‘H:i:s M j, Y T’)

Hi felgal,why is it undefined function format?

$date = format(‘H:i:s M j, Y T’,$mydate) ;

It is fully documented.

Hi, Thank you i think i got it now.:slight_smile: