asp.net mvc textbox date format

Posted by maxxxee on Stack Overflow See other posts from Stack Overflow or by maxxxee
Published on 2010-03-22T14:46:06Z Indexed on 2010/03/22 15:01 UTC
Read the original article Hit count: 488

Filed under:

My form contains a textbox for date input. When submitted the data is used to add a row to the table. The view is strongly typed to the table.

The problem is that the database server is configured with US date format. But the users need to use UK date format in the textbox. When users enter uk date format error is thrown.

The database server configuration cannot be changed. So what can be done so that users can enter date in uk format?

© Stack Overflow or respective owner

Related posts about asp.net-mvc