Formats

The TimePicker allows you to define its time formatting.

The following example demonstrates how to define the time format.

    @(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.

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

See Also

In this article
Not finding the help you need? Improve this article