Jump to content

Help displaying date and time from mysql record


poleposters

Recommended Posts

Hi,

 

I'm having trouble reformatting the date and time from a mysql record.

 

I have a field in my database in a datetime format.

 

I can print the date time in the default mysql format with no problem. But can't seem to convert it to Sunday 4th May 2008 format.

 

Can anyone help. I've read the forums and googled some tutorials but can't seem to find anything. I can display the current time in the desired format but not the database time.

 

Cheers.

 

 

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.