ComponentOne Calendar for ASP.NET: Calendar Behavior > Calendar Dates > Date Format Pattern

Date Format Pattern

The table below displays a list of the standard date format characters supported by C1Calendar. The format characters are case-sensitive; for example, d' and 'D' represent different patterns.

 

Format Character

Associated Property/Description

Data Format Example

d

ShortDatePattern

1/23/07

D

LongDatePattern

Tuesday, January 23, 2007

dddd, MMMMM dd

Day_name, Month_name Day

Tuesday, January 23

d MMMM

Day Month_name

23 January

ddd

Full week day name

Tuesday

"d

Short week day name

Tue

"'d

Day of month

23

 

The standard date formats can be combined with string elements to achieve more advanced date processing and display.

C1Calendar's CalendarTitle and MonthViewTitle properties provide several pre-determined formats processed from the date picture strings elements for the Calendar Title and Month View Title display. For more information on these pre-determined formats, see Calendar Title Settings. For more information on how to use the format strings these when formatting the Calendar or Month View Title, see Apply Built-in Date Format Patterns to Calendar Title or Month Title.


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