02SYSDATE NOW CURDATE

suggest change
SELECT SYSDATE();

This function returns the date and time at which it executes, as a value in 'YYYY-MM-DD HH:MM:SS' or YYYYMMDDHHMMSS format, depending on whether the function is used in a string or numeric context. It returns the date and time in the current time zone.

SELECT NOW();

NOW() returns the date and time at the start of the statement, in the same formats. It is not a synonym of SYSDATE() unless the sysdate_is_now system variable is enabled. Inside a stored routine that runs for a while, the two can differ.

SELECT CURDATE();

This function returns the current date, without any time, as a value in 'YYYY-MM-DD' or YYYYMMDD format, depending on whether the function is used in a string or numeric context. It returns the date in the current time zone.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents