Android Java : How to subtract two times?

后端 未结 5 1049
滥情空心
滥情空心 2020-12-15 08:56

I use some kind of stopwatch in my project and I have

start time ex: 18:40:10 h
stop time  ex: 19:05:15 h

I need a result from those two

5条回答
  •  囚心锁ツ
    2020-12-15 09:34

    Try this answer it will help you a lot

    from here

    In this answer, you will find subtract to two times discarding the day and month and year.

    it gives you the number of minutes you will spend until you reach the second Time value.

提交回复
热议问题