Gets or sets the date format.
[Visual Basic]
Public Property DateFormat As String
Property Value
Date format. The default value is MM/dd/yy.
Remarks
Use this property to get or set the date format based on the following rules:
d | The day of the month. Single-digit days will not have a leading zero. |
dd | The day of the month. Single-digit days will have a leading zero. |
ddd | The abbreviated name of the day of the week, as defined in DateTimeFormatInfo.AbbreviatedDayNames. |
dddd | The full name of the day of the week, as defined in DateTimeFormatInfo.DayNames. |
M | The numeric month. Single-digit months will not have a leading zero. |
MM | The numeric month. Single-digit months will have a leading zero. |
MMM | The abbreviated name of the month, as defined in DateTimeFormatInfo.AbbreviatedMonthNames. |
MMMM | The full name of the month, as defined in DateTimeFormatInfo.MonthNames. |
y | The year without the century. If the year without the century is less than 10, the year is displayed with no leading zero. |
yy | The year without the century. If the year without the century is less than 10, the year is displayed with a leading zero. |
yyyy | The year in four digits, including the century. |
See Also
UltimateDatePicker Class | Karamasoft.WebControls.UltimateCalendar Namespace