R
Robert Bravery
HI all,
I'm new toJS.
I am trying to get a user inputed date into mysql. The mysql database
accepts the date in yyyy-mm-dd format.
The user, from South Africa inputs the date in a web form in dd/mm/yyyy
format. Obviously when this is stored to the database table, the dates are
not quite what one would expect. I'm wantng to change the date format to
that what mysql would accept before it gets posted. I am looking for some
help with a script that would be able to do this for me. I'm having great
dificulty in getting this right
Thanks
Robert
I'm new toJS.
I am trying to get a user inputed date into mysql. The mysql database
accepts the date in yyyy-mm-dd format.
The user, from South Africa inputs the date in a web form in dd/mm/yyyy
format. Obviously when this is stored to the database table, the dates are
not quite what one would expect. I'm wantng to change the date format to
that what mysql would accept before it gets posted. I am looking for some
help with a script that would be able to do this for me. I'm having great
dificulty in getting this right
Thanks
Robert