susanl
09-04-2003, 04:47 AM
Hello everyone,
I've a problem in validating the dates on my form. Because it's validation I want to do, and they are British format dates, the format command isn't much use as it would be simply to display and save them.
What I'm really really looking for is the Visual Basic equivalent of the ASP command Session.LCID = 2057 which automatically switches the regional dates to British for the lifetime of the the session. Then I can use my IsDate functions or whatever without having to worry about the client Regional Settings (this prog will be distributed) on the PC at all.
Does anyone have any suggestions as to how to do this - MSDN is elusive, to put it kindly - or even an alternative method? Thanking you in advance,
Susan
I've a problem in validating the dates on my form. Because it's validation I want to do, and they are British format dates, the format command isn't much use as it would be simply to display and save them.
What I'm really really looking for is the Visual Basic equivalent of the ASP command Session.LCID = 2057 which automatically switches the regional dates to British for the lifetime of the the session. Then I can use my IsDate functions or whatever without having to worry about the client Regional Settings (this prog will be distributed) on the PC at all.
Does anyone have any suggestions as to how to do this - MSDN is elusive, to put it kindly - or even an alternative method? Thanking you in advance,
Susan