0

I have two dates: First one and the actual one. I need to know their difference in number of minutes. The problem is, that when using joda time:

 new DateTime(actual).getMinuteofDay -  new DateTime(first).getMinuteofDay 

doesnt always return the correct answer if there is a difference in days.

Any ideas ?

Lukas Anda
  • 716
  • 1
  • 9
  • 30

0 Answers0