ComponentOne DateTime Editors for WPF: C1TimeEditor Control Help > Working with C1TimeEditor > Time Formats

Time Formats

You can use the Format property to set the format that the date picker 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.


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.