DatePicker Custom Date Format

2 posts, 0 answers
  1. Dbone
    Dbone avatar
    1 posts
    Member since:
    Mar 2010

    Posted 30 Jun 2010 Link to this post

    I currently have a requirement to display dates in our DatePicker Control in the following format: "YYYY/MM/DD".  Is it possibly to customize dates in the DatePicker control.

    Thanks
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 06 Jul 2010 Link to this post

    Hi Dbone,

    Thank you for contacting us.

    To customize the date format of the DatePicker you can try setting its Culture property, for example like so:

    datePicker.Culture = new System.Globalization.CultureInfo("en");

    For more information about CultureInfo class and the possible formats of the date you can refer to these articles:

    If you need further assistance please feel free to contact us again.

    All the best,
    Konstantina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
Back to Top