It is currently Wed Jan 17, 2018 1:39 am Advanced search

unix time

Technical support for the Highcharts Stock package

unix time

Postby trapper5 » Sun May 06, 2012 11:21 pm

Not really a question, but I did notice that the timestamps for the JSON file are in Unix time which begins in 1970. Some stock charts go back beyond that, for example a chart of the Dow Jones index can go back 120 years. I've used another charting package called ChartDirector which worked around this issue by converting the unix timestamps to count from the year 0 instead of 1970. This would only come up for users that need to do long term charts but may be a nice option to add for a future release. Other than that, excellent software. Great work to Torstein and the team.

- Joe
Posts: 3
Joined: Sun May 06, 2012 11:14 pm

Re: unix time

Postby Fusher » Mon May 07, 2012 1:33 pm

You can use negative numbers as timestamps in Javascript, check: ... escription
Paweł Fus
Highcharts Developer
Posts: 7904
Joined: Mon Jan 30, 2012 12:16 pm

Return to Highstock Usage

Who is online

Users browsing this forum: No registered users and 2 guests