Databases| SQL| MySQL| Questions? | Software Development
 

Mysql Time Only

                         

Mysql Time Only is used to return the current time on your current local system.

Understand with Example

We already make you understand on current date and time. The below Query now( ) return you the current date and time  as field name Dateandtime.

Query to find Current time and date:-

 

 

 

 

mysql> select now()as Dateandtime;

Output:-

+---------------------+
| Dateandtime         |
+---------------------+
| 2008-12-23 11:32:39 |
+---------------------+
1 row in set (0.00 sec)

Query to find time only:-

The below Query time(now ( )) return you the current time as field Timeonly. 

mysql> select time(now())as Timeonly;

Output:-

+----------+
| Timeonly |
+----------+
| 11:33:50 |
+----------+
1 row in set (0.00 sec)

                         

» View all related tutorials
Related Tags: sql mysql c orm form time make format display value this create for ie example values exam e it mms

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
 
Tell A Friend
Your Friend Name

 

 
Recently Viewed
Software Solutions
Search Tutorials

 

 
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2008. All rights reserved.