I'm using highcharts with datetime x-axis with useUTC=true. So to get Nov 05 2013 11:30 I use the value 1383651000000 as I found in this question highcharts datetime axis, how to comput correct timestamp?
Now when I make a selection on highcharts the event I get has timestamp in UTC. I want to convert it to a javascript Date which should be 11:30 in localtime... How do I get it?
Here is a Fiddle http://jsfiddle.net/2BffA/7/ where you see that I cannot simply construct a
new Date(event.min)
from timestamp because I get the UTC date converted to local time.