I\'m having trouble trying to write a form with time field using ASP.NET MVC 4.
Model:
class Abcde { [DataType(DataType.Time)] public DateTim
[Required] [DataType(DataType.Time)] [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:H:mm}")] public DateTime Time { get; set; }`
Try this, you can format in the DataFormatString the way you want it to work for you, im using it in a project now and it's working for me.