how to format a date

4 posts, 0 answers
  1. Shirya
    Shirya avatar
    40 posts
    Member since:
    Sep 2008

    Posted 25 Mar 2009 Link to this post

    Hello,
    I have a radGridViewDateTimeColumn, and  i would like know how can i display my dates without the time  in my gridView
    Thank you
    Shirya
  2. Fabien
    Fabien avatar
    43 posts
    Member since:
    Sep 2008

    Posted 25 Mar 2009 Link to this post

    hi,

    same question, FormatString don't work

    B.R.

    Fabien
  3. Ramius
    Ramius avatar
    127 posts
    Member since:
    Feb 2008

    Posted 26 Mar 2009 Link to this post

    Hello,

    you need to set the FormatString property with the correct value. For example:

    FormatString = "{0:dd/MM/yyyy}"

    Now the GridViewDateTimeColumn shows only a date.

    Kind regards,

    Ramius

  4. Shirya
    Shirya avatar
    40 posts
    Member since:
    Sep 2008

    Posted 26 Mar 2009 Link to this post

    Thanks for the answer, this worked
Back to Top