I am working on MVC project, but there\'s a problem in using Date Format.
Here is my code:
[DisplayFormat(DataFormatString = "{0:dd-MM-yyyy}"