Mysql Date Query

Mysql Date Query Date Query is used to return the current date, month and year of the table.

Mysql Date Query

     

Mysql Date Query Date Query is used to return the current date, month and year of the table.

Understand with Example

The Tutorial illustrate an example from 'Mysql Date Query'. To understand this example we use current_date query that return the current date in the table.

Current_Date :The Query is used to return you the current date, month and year as fieldname current_date  of the table in database.

 

 

 

Query to show Current date:

mysql> SELECT CURRENT_DATE;
+--------------+
| CURRENT_DATE |
+--------------+
| 2009-01-08 |
+--------------+
1 row in set (0.00 sec)