Skip to content Skip to sidebar Skip to footer

Date Highstock Highchart

can some one tell me how to read this date : [1113955200000,35.51], this code 1113955200000 gives me Tuesday apr 19 2005 any ideas ?????? what this numbers means and how to conver

Solution 1:

That number is the Unix time (epoch time I think) in miliseconds. It is how javascript handles time values.

When passing values from your data to be added to the chart it may look like 01/01/1928 00:00:00. To get this into the appropriate format for HighCharts to use you can do (in javascript):

Date.parse('01/01/1928 00:00:00')

Solution 2:

Its an UNIX-style date, the number of milliseconds since a specific date (1-1-1970 00:00) See epochconverter.com to quickly convert to human readable. More info on wiki

Post a Comment for "Date Highstock Highchart"