SyntaxFix
Write A Post
Hire A Developer
Questions
Use the getTime method to get the time in total milliseconds since 1970-01-01, and subtract those:
getTime
var time = new Date().getTime() - new Date("2013-02-20T12:01:04.753Z").getTime();