Different between now() and current_date()
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Nov 10, 2022, 10:53 PM EST
NOW() command is used to show current year, month, date with hours, minutes, and seconds while CURRENT_DATE() shows the current year with month and date only.
Amit MohantyRank #112 · 20K reputationPosted Nov 10, 2022, 11:18 PM EST
Current_date() will only give you the only the date not time. NOW() function will return current date and time.
Brahma Prakash ShuklaRank #633 · 3.8K reputationPosted Nov 11, 2022, 2:26 AM EST
NOW() command is used to show current year, month, date with hours, minutes and seconds while CURRENT_DATE() shows the current year with month and date only.