Jump to content

Display MYSQL time field


billhobbs

Recommended Posts

That just boggled my mind.  It looked like most of this was for date, timestamp, datetime fields my field is just the time. What I've been doing to display the others doesn't work with just a time field. If my query gives me a $sessionvalue  result of 09:00:00 from the time field.  How do I convert the 09:00:00 to to display as 9:00am?

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.