Articles in this section
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

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied