Jump to content

mysql date_format problem


proctk

Recommended Posts

HI

 

I have then below that is supposed to return a reformated date from a field in a mysql date field in my table.

 

users.spousedob = 1978-03-11

 

DATE_FORMAT(users.spousedob, '%a %b %e')

 

The is returning Saturday, March 11 2008 but should be returning Tuesday, March 11 2008

 

Any ideas how to fix this

 

 

Thank you

Link to comment
https://forums.phpfreaks.com/topic/95532-mysql-date_format-problem/
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.