visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
315 experts, 1193 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Databases :: MySql :: mysql current date select today


By: Nono Great Britain  Date: 20/06/2007 20:38:02  English  Points: 20 Status: Answered
Quality : Excellent
how to get current date (today) via select in mysql ?
By: VGR Date: 20/06/2007 20:54:45 English  Type : Answer
well, it's usually NOW() which is used, but MySql Server - on the contrary to ORACLE and SQL-Server - does respect the SQL standards so you can also use the (alias ;-) CURRENT_DATE() which is a SQL standard function.

If you need to format the returned today value, use DATE_FORMAT() accordingly

Happy Mysqling ;-)

Do register to be able to answer

EContact
browser fav
page generated in 347.304820 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page