Category / Section
How can I specify custom date time format programmatically in DropDownCalendar control?
1 min read
Set the Format property as CustomString and CustomFormat property to the required datetime format. (e.g. “MMM dd yyyy”, “MM dd YY”)
C#
DropDownCalendarControl1.CustomFormat = "MMM dd yyyy";
DropDownCalendarControl1.Format = Syncfusion.Web.UI.WebControls.Tools.DateTimeFormatType.CustomString;
VB
DropDownCalendarControl1.CustomFormat = "MMM dd yyyy"
DropDownCalendarControl1.Format = Syncfusion.Web.UI.WebControls.Tools.DateTimeFormatType.CustomString