Take a look @ Joda-Time FAQ
You can use a PeriodFormatter to get the format of your choice.
Try the following sample code.
DateTime dt = new DateTime();
DateTime twoHoursLater = dt.plusHo… Read More
1. Introduction
Joda Time is a Java API that allows you to work with dates in a simpler, more powerful and efficient way than the standard Java dates API. Joda Time includes some c… Read More