Home forums Using CanvasJS DateTime to Double Reply To: DateTime to Double

#27670

@9dan7,

You can use GetTimestamp() to convert C# date to timestamp(in seconds), then converting the same to JavaScript timestamp(in milliseconds) before passing it to the chart options should work fine in your case.

__________
Indranil Deo
Team CanvasJS