This question already has an answer here:

I have a text box with type = "time"

@Html.TextBoxFor(m => m.TimeFrom, new { @class = "timeEntryControl", @id = "hoursValue", @type = "time" })

By default, it shows 12 hour input box with AM/PM. how do I format it to 24 hour input? any idea?

thank you

Related posts

Recent Viewed