Curdate() Vs current_date MySql

9.6k views Asked by At

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

3

There are 3 answers

0
Barmar On

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

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

0
Mureinik On

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

0
cosmicchichu On

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()