Jump to content

MySQL date and php


wrathican

Recommended Posts

i know this has been asked a whole bunch of times but i dont seem to understand what to do :/

i have my database and in that db there is a table. one of the columns is a date column, so the format is YYYY-MM-DD

all i want is to be able to format the date when i retrive it from the DB

say the db value is 2007-08-02

i want my php script to display Tuesday, 2nd August 2007

 

any help on this?

Thanks in advanced

Link to comment
https://forums.phpfreaks.com/topic/63017-mysql-date-and-php/
Share on other sites

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.