Changing the TimeZone of the DateTime fields

2 posts, 0 answers
  1. Silviu
    Silviu avatar
    63 posts
    Member since:
    Feb 2015

    Posted 11 Jul 2017 Link to this post

    I have a RadGrid displaying data from a SQL DB in which the datetime is UTC.

    I would like for the RadGrid to automatically change this datetime so it matches the client's timezone.

    How can that be achieved?

  2. Peter Milchev
    Peter Milchev avatar
    909 posts

    Posted 14 Jul 2017 Link to this post

    Hello Silviu,

    The Grid by design displays the dates as is. Changing the dates on the client would require JavaScript implementation, similar to the one suggested in GridDateTimeColumn to localtime forum thread. 

    For an alternative solution, you could consider using, is suggested in the following resources: 
    Peter Milchev
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top