Time Format in ASP.NET MVC TimePicker
19 Aug 20221 minute to read
TimePicker widget provides you an option to change the TimeFormat property.
Steps to change Time Format of TimePicker widget
The following steps explains you to change the time format for the TimePicker.
- Add the following code to the corresponding view page to render the TimePicker.
@*Add the following code example to the corresponding CSHTML page to render TimePicker widget with time format*@
@Html.EJ().TimePicker("time").TimeFormat("hh:mm:ss tt")
Execute the above code to render the following output.
TimePicker with TimeFormat.