13

What is the difference between curdate() and current_date in MySQL?

Mureinik
  • 297,002
  • 52
  • 306
  • 350
Bharanidharan
  • 131
  • 1
  • 4
  • 1
    try to search for the answer yourself first....its very simple question – AbdulRahman Ansari Jan 06 '14 at 06:48
  • @AbdulRahmanAnsari has it occurred to you that StackOverflow is a knowledgebase? Do you think this website should be reserved exclusively for the most complicated questions? – reformed Jan 04 '22 at 21:37

3 Answers3

26

There's no difference. It says it right there in the manual:

CURRENT_DATE and CURRENT_DATE() are synonyms for CURDATE().

Barmar
  • 741,623
  • 53
  • 500
  • 612
4

Please refer the documentation http://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html

curdate() and current_date() are synonymous.

However for your information there is a difference between curdate() and now()

Question: MySQL: Curdate() vs Now()

Community
  • 1
  • 1
cosmicchichu
  • 63
  • 2
  • 8
1

There is no difference, they are synonyms (see here).

Mureinik
  • 297,002
  • 52
  • 306
  • 350