kendo.toString returning slightly wrong time values

1 posts, 0 answers
  1. David
    David avatar
    32 posts
    Member since:
    May 2012

    Posted 27 Jul 2012 Link to this post

    I'm displaying records from a DB in a kendo grid, and one DB field is a datetime.

    I'm using the following to display the value: kendo.toString(datetime,"dd MMMM yyyy, h:MM:ss")

    This works, but the time it displays is incorrect. For instance if the value in the DB is "2012-07-27 15:28:11.383" the value displayed will be "27 July 2012, 3:07:12", which is off by about 21 minutes.

    What's up with that?
Back to Top