What is the difference between curdate()
and current_date
in MySQL?
Curdate() Vs current_date MySql
Asked Answered
try to search for the answer yourself first....its very simple question –
Zia
@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? –
Broncho
There's no difference. It says it right there in the manual:
CURRENT_DATE and CURRENT_DATE() are synonyms for CURDATE().
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()
© 2022 - 2024 — McMap. All rights reserved.