Home forums Chart Support Displaying incorrect date time while converting epoch value Reply To: Displaying incorrect date time while converting epoch value

#25306

@akarsh5080,

Epoch timestamp is in seconds whereas JavaScript uses milliseconds as timestamp. Converting epoch timestamp to JS timestamp before passing it to chart, by multiplying epoch timestamp by 1000 should work fine in your case. Please refer this stackoverflow thread for more information.


Vishwas R
Team CanvasJS