I'm very new to PHP, so forgive me if my question is silly, poorly-worded or too vague.
I have a field, News_Pub_Date, in an SQL table, and its type is date.
I'm trying to reformat it to String I believe.
The format of the date is 2009-03-20 in the table and when it is displayed on the site I want it to be displayed as "Friday, March 3rd, 2009."
I know that to display the date I use this ? $NewsItem_DS['News_Pub_Date'];? in carrot of course.
From this site I figured that the format I want should like this: ('l\\, F jS\\, Y')...
Now where do I go from here?
Thanks in advance!
PROBLEM SOLVED.
Solution in the comments if you're interested.
I have a field, News_Pub_Date, in an SQL table, and its type is date.
I'm trying to reformat it to String I believe.
The format of the date is 2009-03-20 in the table and when it is displayed on the site I want it to be displayed as "Friday, March 3rd, 2009."
I know that to display the date I use this ? $NewsItem_DS['News_Pub_Date'];? in carrot of course.
From this site I figured that the format I want should like this: ('l\\, F jS\\, Y')...
Now where do I go from here?
Thanks in advance!
PROBLEM SOLVED.
Solution in the comments if you're interested.
