PDA

View Full Version : DateField.selectedDate


LeahSmart
11-05-2003, 07:13 AM
Hi Reader!

I am trying to set the date for the DateField component, I just cannot get it to work. It keeps displaying undefined. :(

Basically the user goes through my movie and has an option to select a date using the DateField. At the end of the movie they have the option to save their settings. So when they load the movie up again they can load their settings.

I store my values in SQL Server and send the data to the movie using an asp page, so the date is sent as '31/12/2003'.

Doing 'DateField.selectedDate = ASPLoadedDate' does not work.

Also when you get the date from the DateField you get something like Sat Oct 2003, SQL does not like this.

Any help would be great, I have a load of similar moives to make using the DateField.

Thanks

Leah