New to Telerik UI for ASP.NET MVCStart a free 30-day trial

Formats

The TimePicker allows you to define its time formatting.

The following example demonstrates how to define the time format.

Razor
    @(Html.Kendo().TimePicker()
        .Name("TimePicker")
        .Value(DateTime.Now)
        .Format("{0:hh:mm:ss tt}")
    )

The following example demonstrates how to define the interval (in minutes) between the values in the drop-down list with the time slots.

Razor
    @(Html.Kendo().TimePicker()
        .Name("TimePicker")
        .Value(DateTime.Now)
        .Interval(15)
    )

See Also

In this article
See Also
Not finding the help you need?
Contact Support