string.format in mvc view code example Example: mvc string format @String.Format("{0:dd MMM yyyy HH:mm}", item.Date).ToString()