Mysql Now Current DateTime

Ads
 

Mysql Now Current DateTime

The Tutorial in this section illustrate an example from 'Mysql Now Current Date Time'.

The Tutorial in this section illustrate an example from 'Mysql Now Current Date Time'.

Mysql Now Current DateTime

     

The Tutorial in this section illustrate an example from 'Mysql Now Current Date Time'. To understand and grasp an example we run a query now ( ) that return the current date  and time of your database.

 

 

 

 

 

Query:-

 mysql> select now()as CurrentDateTime;

Output:-

 +---------------------+
| CurrentDateTime   |
+---------------------+
| 2009-01-07 16:11:49 |
+---------------------+
1 row in set (0.03 sec)

Ads

Ads