Date and Time Format

You can use the DateFormat property to set the format that the date picker displays. You can use the TimeFormat property to set the format that the time displays. The Microsoft .NET standard date and time format strings can be used to determine how you want the C1DateTimePicker to look. The following table provides examples for some of the available formats.

 

Format

Description

Result

d

Short date pattern. (Default)

D

Long date pattern

h:mm tt

Displays the hours, minutes, and AM/PM. (Default)

T

Long


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.