Calculate time difference in Angularjs

Asked

Viewed 858 times

3

I have two variables, startTime (01:00:00 AM) and endTime (02:00:00 AM), need to calculate the difference between one and the other, how would do this at the angle? vi que existe o Date.parse(), but I need to pass a date.

2 answers

1

1

Browser other questions tagged

You are not signed in. Login or sign up in order to post.