Let’s say we have a Nullable DateTime named StartTime
[DisplayFormat(DataFormatString = "{0:dd.MM.yyyy}")] public Nullable<System.DateTime> StartTime { get; set; }
and we want to show in a Format (dd.MM.yyyy)
@Html.Label("StartTime", @Model.StartTime?.ToString("dd.MM.yyyy") ?? "", new { style = "font-weight: normal;" })