MySQL Date/Time now() Function

The now() is a MySQL date/time function. It is used to get the current date and time.

Syntax

Returns:

This function returns the current date and time.

Example 1

Output:


MySQL Datetime now() Function

Example 2

Output:


MySQL Datetime now() Function
Next TopicMySQL datetime




Latest Courses