Mysql Date now function is useful when you want to return the current time and date .
Understand with Example
The Tutorial illustrate an example from 'Mysql Date now function'. In this Tutorial we define a now ( ) Query that return you the current date and time.
now ( ) : The now ( ) function return you the current date and time as DatenowFunction.
Query:-
mysql> select now()as DatenowFunction; |
Output:-
+---------------------+ | DatenowFunction | +---------------------+ | 2008-12-22 13:05:44 | +---------------------+ 1 row in set (0.20 sec) |
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: Mysql Date now function
Post your Comment