Jump to content

formating mysql datetime


proctk

Recommended Posts

the example posted on the php website do not work when one of the lets used to express a date or time value is use

 

here is what I have

 

date("F t \a\t\ g:i a", $sentMessages['date_sent']); ?>

 

which returns December 31 a 7:33 pm

 

the value stored in the variable is 2007-08-20 00:05:10

 

thanks for the help

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.