I need to solve the following problem for one of my clients. They have an installer which installs a SQL server database + IIS website.
The SQL database user can have any kind of date format (DD/MM/YYYY, MM/DD/YYYY,...) depending on the locale of the sql server. The IIS website can have any kind of date format (can be different from sql server). The user browsing to the website can have any kind of date format (date formats from all over the world).
I'm struggling to find a solution for the following: (asp.net) 1) an end-user using his browser must be able to enter and validate a date in it's own date format 2) the date must be written to the sql server in the date format of the sql server which can be different.
Hints are welcome.