Advertisement

06.27.2005 at 01:13PM PDT, ID: 21472457
[x]
Attachment Details

ASP text to database

Asked by gisvpn in Active Server Pages (ASP)

Hi,

I have been having some problems with dates and inserting them into my database but i have resolved that now. However i need some help with inputting the date from a text field into the database.

I would like to just accept the date from a user via a text field in the typical format like this i.e. the user types this into the box :

12/05/2005

Thus the format is DD/MM/YYYY.

When the input is posted to the next page i need a script to dissect the string '12/05/2005' into this string '20050512' which is YYYYMMDD. I assume that it is possible to seperate the numbers when it comes across a '/' and then concat them together in the required order.. but im not sure how to do this.

Can anyone help :)

Thanks

GISVPN Start Free Trial
[+][-]06.27.2005 at 01:19PM PDT, ID: 14312583

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: Active Server Pages (ASP)
Sign Up Now!
Solution Provided By: amit_g
Participating Experts: 4
Solution Grade: A
 
 
[+][-]06.27.2005 at 01:22PM PDT, ID: 14312606

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]06.27.2005 at 01:25PM PDT, ID: 14312640

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.

 
[+][-]06.27.2005 at 01:33PM PDT, ID: 14312714

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]06.27.2005 at 01:34PM PDT, ID: 14312717

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.

 
[+][-]06.27.2005 at 01:36PM PDT, ID: 14312736

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.

 
[+][-]06.27.2005 at 01:38PM PDT, ID: 14312763

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.

 
[+][-]06.27.2005 at 01:40PM PDT, ID: 14312775

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.

 
[+][-]06.27.2005 at 01:41PM PDT, ID: 14312780

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.

 
[+][-]06.27.2005 at 01:48PM PDT, ID: 14312841

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.

 
[+][-]06.27.2005 at 03:09PM PDT, ID: 14313398

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.

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