Home Forums Chart Support Showing a different Timezone time Reply To: Showing a different Timezone time



is there any other date format the canvas charts can understand,other than the

Basically the chart supports JavaScript Date object apart from unix timestamp. Now you can use any of the available ways to create a JavaScript Date Object and assign it to dataPoint’s x property. Here is one way to do it in UTC.

The same graphs are going to be viewed in different timezones,
so the same set of timestamps are read as different times depending on the timezones.
But i want to fix it to a particular timezone.

This is a common requirement in most applications and one of the best ways to do the same is to send time in UTC from the server and then convert it to required timezone on the client side.

Sunil Urs