Computer Science, asked by Anonymous, 1 year ago

What is the difference between ''Sysdate and now function''



CONTENT QUALITY ANSWER NEEDED.

Answers

Answered by Akshatj210
3
Now() function gives us the current date & time of when you entered the function whereas Sysdate() function gives the date and time after the code is executed. You can basically see the difference using sleep() function too.
Attachments:
Answered by siddhartharao77
11
Sysdate and time are functions which are used in databases like Mysql.

Short note on Sysdate and now:

(1) Sysdate() and now() returns the output in date format.

(2) Sysdate() returns the time at which the program executes. Now() returns the time when the particular program has started.

(3) Sysdate() can store the date value on Timestamp. Now() can store on all time fields.

Hope this helps!
Similar questions