1.0.0 • Published 6 years ago
ngdatediff v1.0.0
ngDateDiff
The difference between the two dates with angular services
Sample
var Date1 = "2017-07-08T12:02:05";
var Date2 = "2016-07-07T04:01:10";
1 | ngDateDiff.Diff(Date1,Date2);
Result
{ years: 1, days: 1, hours: 8, minutes: 0, seconds: 55 sum: { days: 366, hours: 8792, minutes: 527520, Seconds: 31651255, years: 1 } }
1.0.0
6 years ago