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?
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?