MySQL datetime to convert Date.UTC -
i have array database. this:
[ { "tarih": "2016-11-15 10:28:49", "guc": "0" }, { "tarih": "2016-11-15 14:25:38", "guc": "0" }, { "tarih": "2016-11-15 14:25:44", "guc": "0" }, { "tarih": "2016-11-15 14:27:10", "guc": "17" }, { "tarih": "2016-11-15 18:32:39", "guc": "54" }, { "tarih": "2016-11-15 18:32:57", "guc": "54" }, { "tarih": "2016-11-15 18:33:10", "guc": "93" }, { "tarih": "2016-11-15 18:33:24", "guc": "34" }, { "tarih": "2016-11-15 18:34:49", "guc": "34" } ]
i want make graph highcart.js. http://www.highcharts.com/demo/line-time-series write in values hand. want take database. here array [date.utc(2017, 10, 10,9,22,00), 32]. how can convert data this?
Comments
Post a Comment