Julian,

You will have to use the JavaScript date constructor with Date.UTC() to
specify the correct time.  See the documentation on:
  https://developers.google.com/chart/interactive/docs/datesandtimes

This won't work if you need to use the JSON representation for your data,
however.  If you do, then you'll have to do some post-processing of the
data in the browser.

On Thu, Apr 9, 2015 at 7:47 AM, Julian Blundell <[email protected]>
wrote:

> Hi
>
> I am logging physical data from sensor boxes located, potentially, all
> over the world.
>
> The data is sent to the graphs as UTC date using the Date(date params)
> with another column holding the sensor data.
>
> Data that is logged at 12 midnight in New York must always be displayed as
> being collected at that time no matter where the user happens to be located.
>
> The time zone for the data display is currently taken from the users
> browser so if they are viewing the data in London the time for that piece
> of data would be 5am and in Hong Kong something like 12pm.
>
> Could we have a way of setting the time zone other than passing the time
> zone for the users browser back to the server and hacking the data being
> sent up?
>
> Regards
>
> Julian Blundell
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to
> [email protected].
> Visit this group at
> http://groups.google.com/group/google-visualization-api.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>  -
978-394-1058
[email protected] <[email protected]>   5CC, Cambridge MA
[email protected] <[email protected]> 9 Juniper Ridge
Road, Acton MA

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to