Dear all,
I'm dealing with data that refers to UTC timestamp.
The webserver is in the same timezone where the data was collected, while the client browser could be anywhere in the world.
Given a dataset: [ (UTCtimestamp1, datapoint1), ..., (UTCtimestampN, datapointN) ]
I need to produce a javascript graph on my asp.net 4 webform page.
I am using FLOT, a js library that plots graph. It takes utc time points (perfect) and also a timezone specification. The requirement is to show data in the timezone of the server.
As far as I understand, on server side I can use TimeZoneInfo.Local to get information about server timezone. The problem is quite simple: the
timezone name! I need something in the format "Europe/Rome", while Timezoneinfo returns
(UTC+1.00) Amsterdam, Berlino, Berna, Roma, Stoccolma, Vienna.
I can't find a way to "convert" asp.net timezone information ...
Go to the complete details ...