This is a migrated thread and some comments may be shown as answers.

kendo.toString returning slightly wrong time values

0 Answers 52 Views
Globalization
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 27 Jul 2012, 09:43 PM
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?

No answers yet. Maybe you can help?

Tags
Globalization
Asked by
David
Top achievements
Rank 1
Share this question
or