MySQL CURDATE() Function

The curdate() is a my date/time function. It is used to get the current date.

Syntax

Parameters

NA

Returns

This function returns the current date.

Example 1

Output:

MySQL CURDATE() Function

Example 2

Output:

MySQL CURDATE() Function
Next TopicMySQL date/time




Latest Courses