I have MVC3 project with Entity.
I have Data Annotation on DateTime property with DisplayFormat(DataFormatString="{0:dd/MM/yyyy hh:mm:ss}")
Controller with method which has entity as argument and calling view with same entity object, which displaying its date property.
So, I open browser and enter link http://site/entity/method?dateproperty=01/09/2012 01:02:03 (1 September 2012) and it displays 09/01/2012 01:02:03 (9 January 2012).
In view I'm using DisplayFor it's displaying like dd/MM/yyyy as I have a set DisplayFormat.
Problem is that it's reading like MM/dd/yyyy instead of dd/MM/yyyy, any solution?
P.S. I have tried globalization in web.config <sysmte.web> but didn't help.