I\'m working with a date in this format: yyyy-mm-dd.
yyyy-mm-dd
How can I increment this date by one day?
SimpleDateFormat dateFormat = new SimpleDateFormat( "yyyy-MM-dd" ); Calendar cal = Calendar.getInstance(); cal.setTime( dateFormat.parse( inputString ) ); cal.add( Calendar.DATE, 1 );