Thread: date formatting
View Single Post
  #1  
Old 08-19-2006, 09:48 AM
bamby bamby is offline
OSP Starters
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bamby is on a distinguished road
Default date formatting

I need to format a MySQL date field. For example, 2006-08-20 into August, 20th.

Code:

date("F, jS", $row['date'])

But this returns DECEMBER, 31ST.

What is the problem and please supply the answer -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - date formatting
Thread: date formatting
View Single Post
  #1  
Old 08-19-2006, 09:48 AM
bamby bamby is offline
OSP Starters
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bamby is on a distinguished road
Default date formatting

I need to format a MySQL date field. For example, 2006-08-20 into August, 20th.

Code:

date("F, jS", $row['date'])

But this returns DECEMBER, 31ST.

What is the problem and please supply the answer -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote