Saturday, March 1, 2014

Java: Add day to a Date

Date today = new Date();  
Date tomorrow = new Date(today.getTime() + (1000 * 60 * 60 * 24));

No comments:


Since 26 July 2008: