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