I am trying to format the DateTime to Just display just date with out time.
Can any one suggest on that please?
@Html.DisplayTextFor("", String.Format("{0:dddd, MM/dd/yyyy}", Model.DOB))
I am trying to format the DateTime to Just display just date with out time.
Can any one suggest on that please?
@Html.DisplayTextFor("", String.Format("{0:dddd, MM/dd/yyyy}", Model.DOB))