Databases| SQL| MySQL| Questions? | Software Development
 

Mysql Date Input

Mysql Date Input is used to give the input date and convert the input into the required format.

Mysql Date Input

                         

Mysql Date Input is used to give the input date and convert the input into the required format.

Understand with Example

The Tutorial helps you to understand an example from 'Mysql Date Input'. To understand and grasp this example we use PHP tag that include the input date '3-Jan-2008' and further convert the input date into the required format date("Y-m-d|").

 

 

In this example give input the date and convert into the required format.

<?
$input = "3-Jan-2008";
$date = date("Y-m-d",strtotime($input));
?>
The input : <? echo $input; ?><br>
The output : <? echo $date; ?>

 Output :

The input : 3-Jan-2008
The output : 2008-01-03

                         

» View all related tutorials
Related Tags: sql mysql c search table date data ui sed type word tutorial key field name ria this id create tab

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.