MySQL Forums
Forum List  »  General

Re: convert mssql function to mysql function
Posted by: Rick James
Date: December 24, 2011 10:12AM

mysql> SELECT DATE_FORMAT(NOW(), '%W');
+--------------------------+
| DATE_FORMAT(NOW(), '%W') |
+--------------------------+
| Saturday                 |
+--------------------------+
Lots more:
http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html

Options: ReplyQuote


Subject
Written By
Posted
Re: convert mssql function to mysql function
December 24, 2011 10:12AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.