'Declaration Public Enum TimeDisplayFormat Inherits System.Enum
public enum TimeDisplayFormat : System.Enum
Member | Description |
---|---|
Default | Time is displayed in the format assigned in the DateTimeFormat.ShortDatePattern of the CultureInfo object. |
Time12Hour | Time is displayed in 12-hour (hh:mm AM/PM) format. |
Time24Hour | Time is displayed in 24-hour (HH:mm) format. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2