How to Change mm/dd/yyyy

2 posts, 0 answers
  1. Md.Hasanuzzaman
    Md.Hasanuzzaman avatar
    31 posts
    Member since:
    Apr 2011

    Posted 03 Oct 2011 Link to this post

    Hi.
        I want to change mm/dd/yyyy to yyyy-mm-dd. Is it possible ?
    please give me a xaml example.
    thank you.
  2. Ivo
    Admin
    Ivo avatar
    390 posts

    Posted 04 Oct 2011 Link to this post

    Hi Md.Hasanuzzaman,

    The right way to edit the dispayed date is this:
    this.radDateTimePicker.Culture = new System.Globalization.CultureInfo("en-US");
    this.radDateTimePicker.Culture.DateTimeFormat.ShortDatePattern = "yyyy-mm-dd";

    Hope this helps.

    All the best,
    Ivo
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top