Hi,
I have an application that is used in different countries.
When people enter dates in France the dates are not accepted if they enter a 3 letter month code i.e. mai = may.
When I change the local settings on my machine to French and issue dteDate = CDate("20 Mai 2000" through the Visual Basic immediate window the date is accepted. However, when I use IE5 and input the date into the field the client-side VBScript validation using CDate does not recognise the date as being valid.
I did read that VBScript always interprets a date literal as US-English if it is possible to do so (VBScript Glossary on MSDN). However, I believe that I am passing a date expression.
Any ideas?
James [sig]<p>James Culshaw<br><a href=mailto:jamesculshaw@active-data-solutions.co.uk>jamesculshaw@active-data-solutions.co.uk</a><br><a href= Active Data Solutions</a><br> [/sig]
I have an application that is used in different countries.
When people enter dates in France the dates are not accepted if they enter a 3 letter month code i.e. mai = may.
When I change the local settings on my machine to French and issue dteDate = CDate("20 Mai 2000" through the Visual Basic immediate window the date is accepted. However, when I use IE5 and input the date into the field the client-side VBScript validation using CDate does not recognise the date as being valid.
I did read that VBScript always interprets a date literal as US-English if it is possible to do so (VBScript Glossary on MSDN). However, I believe that I am passing a date expression.
Any ideas?
James [sig]<p>James Culshaw<br><a href=mailto:jamesculshaw@active-data-solutions.co.uk>jamesculshaw@active-data-solutions.co.uk</a><br><a href= Active Data Solutions</a><br> [/sig]