Advertisement

01.20.2003 at 03:28AM PST, ID: 20465243
[x]
Attachment Details

How to convert the date format.

Asked by niranch in PHP Scripting Language

HTML page passes the date value to PHP script in the mm/dd/yyyy format. I want to store the value in database in yyyymmdd format.

How can i do this in PHP script ?

I am using MYSQL database.Start Free Trial
[+][-]01.20.2003 at 04:03AM PST, ID: 7760434

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.20.2003 at 04:08AM PST, ID: 7760450

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: PHP Scripting Language
Sign Up Now!
Solution Provided By: waygood
Participating Experts: 2
Solution Grade: A
 
 
[+][-]01.20.2003 at 04:36AM PST, ID: 7760544

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32