Date Edit - Date formatting

Posted by: nithya.naomi on 6 December 2017, 11:02 am EST

    • Post Options:
    • Link

    Posted 6 December 2017, 11:02 am EST

    Hi,

    We are trying to change the display format of the date in dateedit control so it looks like 10 Jan 2018 etc…

    We tried changing the Display format → Format type but had no luck.

    Can you please let us know how we can change the display formats for DateEdit control pragmatically?

    We are using the C1 edition 4.0.20161.147

    Thanks

  • Posted 7 December 2017, 4:25 am EST

    Hi!

    You can use custom format like this:

    c1DateEdit1.FormatType = FormatTypeEnum.CustomFormat;
    c1DateEdit1.CustomFormat = "dd MMM yyyy";
    

    Regards,

    Meenakshi

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels