@model DateTime? @if (Model.HasValue) { @Model.Value.ToString(" ddd dd MMM yyyy HH:mm") } else { No date entered! }