Home forums Using CanvasJS MySQL xAxis date format Reply To: MySQL xAxis date format

#7084

Daniel Silva
Participant

Apparently you have to use milliseconds.
I’m using strtotime in PHP:

strtotime($x) * 1000-3600000

the 3600000 is because I’m on UTC.

  • This reply was modified 2 years, 2 months ago by  Daniel Silva.