hi
this should be easy but cant get a solution to work, tried changing localte to us and using datetime.parse (mm/dd/yyyy) but no joy...
im accepting a date in a textbox as dd/mm/yyyy
unfortunately the server locale is set to US so a date such as 23/04/2008 causes it to error as its thinking 23 is the month.
i need to swap the dd and mm round before adding to db.
whats the way to do this?





Bookmarks