Hi there, I have got a textbox on my web page that contains a date, i want to be able to change the date when different keys are pressed, for example if the user presses 't' then the date changes to the current date.

The initial date is in this format dd/mm/yy.

How do you take the value from th textbox and convert it to a date in javascript..

Thanks

Rohan