Home forums Using CanvasJS Date Format Reply To: Date Format

#24367

Hi Priyanka,

After using your function : array_push($dataPoints, array(“x”=> strtotime($row->x) * 1000, “y”=> $row->y));
Now I get thoses numbers on my x-axis how do i change back to date format ?