Home Sql Sqldate Mysql Date no Time



Mysql Date no Time
Posted on: January 20, 2009 at 12:00 AM
The Tutorial illustrate an example 'Date no Time' in Mysql . In this Example, the date(now( ) ) return you the current date with no time.

Mysql Date no Time

     

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)

Related Tags for Mysql Date no Time:
sqlmysqlcdatetimetutorialreturnriathisexamplewithtoexameilitimcurrentinnomnttrmeratetorxaxampsurnatmyisimellmplstrtutorssrirenthstpleplo


More Tutorials from this section

Ask Questions?    Discuss: Mysql Date no Time  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

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.