Mysql Date no Time is used to find out the current date with no time.
Understand with Example
The Tutorial illustrate an example 'Date no Time' in Mysql . In this Example, the date(now( ) ) return you the current date with no time.
date(now( ) ) : The date(now( )) return you the current year, month and date.
Query:-
mysql> select date(now())as Date; |
Output:-
+------------+ | Date | +------------+ | 2008-12-22 | +------------+ 1 row in set (0.00 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 no Time
Post your Comment