Posted By


camdagr8 on 11/20/13

Tagged


Statistics


Viewed 43 times
Favorited by 0 user(s)

Date.lapsed(Date)


/ Published in: JavaScript
Save to your folder(s)

Calculates the time in hh:mm:ss between two dates

Usage:
var past = new Date('1/1/2013');
var now = new Date();

var lapsed = past.lapsed(now);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.