Philip;
The simplest way to do it is by creating a date var:
var str1 = '06/26/2003';
var res1 = new Date(str1);
You also might take a look at the Date.Parse() Method.
>Hi,
>I want to validate a date so that I can be sure that the user hasn't entered a future date.
>The date is held in 3 fields. One holds the day, one the month and the other the year.
>If I concatenate the values of the fields with "/" so that I get a string with (for example) "23/06/2003" how can I than convert it to a date so that I can check it against the current date?