SyntaxFix
Write A Post
Hire A Developer
Questions
You can run it through Number()
Number()
var myInt = Number(new Date(dates_as_int[0]));
If the parameter is a Date object, the Number() function returns the number of milliseconds since midnight January 1, 1970 UTC.
Use of Number()