ComponentOne DateTimeEditors for WPF
TimeEditor Overview / Working with C1TimeEditor / Time Formats
In This Topic
    Time Formats
    In This Topic

    You can use the C1TimeEditor.Format property to set the format that the time editor displays. You can set Format property to ShortTime, LongTime, or TimeSpan. The table below illustrates each date formats.

    Time Format

    Result

    Description

    ShortTime

    The control displays a short time format that excludes seconds.

    LongTime (default)

    The control displays a long time format that includes seconds.

    TimeSpan

    The control displays a time span and removes the a.m./p.m. designators.