MWilliamsBolton
asked on
Convert Date in ASP.Net (VB) depending on browser language
I have a text box that takes in a date string. I need to check that the date is in the right format and convert it to a date type.
The users are in US and UK (and possibly other countries) and I want the server procedure to take that into account.
Does anyone have a fully international VB function that does this? (I am thinking that the server has knowledge of the lanuguage of the browser ..?)
The users are in US and UK (and possibly other countries) and I want the server procedure to take that into account.
Does anyone have a fully international VB function that does this? (I am thinking that the server has knowledge of the lanuguage of the browser ..?)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can drastically reduce that by removing "lots" of redundant code, but serves me perfect.
ASKER
Although I have not implemented it yet, I can see it is exactly what I needed. Thank you.
The pleasure is all mine. Let us know when you have implemented it whether it serves your purpose (or needs a tweek!)