How can we set the locale of a sharepoint site for a particular user according to his/her system locale through coding?
Edit: Specifically, I've created a list through coding. Suppose that I've added an item to that list. Then I've changed the locale. Then again when I'm trying to add another item within than list it throws an exception regarding the date format as it has already been changed.