Date string that JS understands
Basically I just want to know what format of date string JS will read.
I'm trying to make a simple graph with Highcharts JS, the data comes from an SQL DB Table, two pieces of data, Date and Balance, Date is of course stored in SQL Date format YYYY-MM-DD.
But the script is not reading it right.
I thought YYYY,MM,DD would work, but that confuses the script with the commas when I add to an array.
What's the simple way to make a string containing a date that JS will read?