What date / time format is this?

I am currently trying to use HighStock graphics on my site. I will use the PHP file to generate data for the chart, my only question is what date / time format does HighStock use? Here is an example of the file they have on their website: http://www.highcharts.com/samples/data/jsonp.php?filename=aapl-c.json

[1107129600000,38.45] 

Above is a data line in a json file, where 1107129600000 is the date and 38.45 is the stock price. Hope someone will know the date / time type. Thanks.

+7
source share
1 answer

It looks like a UNIX timestamp. This is the number of seconds (or in your case, milliseconds) since January 1, 1970. Most programming languages ​​will allow you to convert this to more natural date and time formats.

Here is a tool to help you convert to make sure: http://www.epochconverter.com/

Additional link: http://en.wikipedia.org/wiki/Unix_time

+9
source

All Articles