Java tutorial
//package com.java2s; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; public class Main { public static String getTomorrowDate() { SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd"); Date date = new Date(System.currentTimeMillis()); Calendar cal = Calendar.getInstance(); cal.setTime(date); cal.add(Calendar.DAY_OF_YEAR, +1); return sdf.format(cal.getTime()); } }