Given a Date dt you have several possibilities:

Solution 1: You can use the Calendar class for that:

Date dt = new Date();
Calendar c = Calendar.getInstance(); 
c.setTime(dt); 
c.add(Calendar.DATE, 1);
dt = c.getTime();

Solution 2: You should seriously consider using the Joda-Time library, because of the various shortcomings of the Date class. With Joda-Time you can do the following:

Date dt = new Date();
DateTime dtOrg = new DateTime(dt);
DateTime dtPlusOne = dtOrg.plusDays(1);

Solution 3: With Java 8 you can also use the new JSR 310 API (which is inspired by Joda-Time):

Date dt = new Date();
LocalDateTime.from(dt.toInstant()).plusDays(1);

Solution 4: With org.apache.commons.lang3.time.DateUtils you can do:

Date dt = new Date();
dt = DateUtils.addDays(dt, 1)
Answer from Daniel Rikowski on Stack Overflow
🌐
Baeldung
baeldung.com › home › java › java dates › increment date in java
Increment Date in Java | Baeldung
January 8, 2024 - Here, we use org.joda.time.DateTime class and its plusDays() method to increment the date by one day. We can verify that the code above works with the following unit test: @Test public void givenDate_whenUsingJodaTime_thenAddOneDay() throws ...
🌐
BeginnersBook
beginnersbook.com › 2017 › 10 › java-add-days-to-date
Java – Add days to Date
This is similar to the above example except that here we are adding the days to the current date instead of given date. import java.text.SimpleDateFormat; import java.util.Calendar; class Example{ public static void main(String args[]){ SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd"); ...
🌐
Coderanch
coderanch.com › t › 428375 › java › add-days-currentDate-java-util
add 10 days to currentDate in java.util.Date or cast to Calendar? (Beginning Java forum at Coderanch)
I know, I can add or substract days, years,.. from an actual Calenar-Instance. But how can I do it with the java.util.Date? For example Date myDate = new Date(); myDate.setMonth(a.getMonth()+1); But setMonth is depraceted, so I should use Calendar. But how can I convert /cast a Calendar-Instance to a Date-Instance, when I need the Date?
🌐
How to do in Java
howtodoinjava.com › home › java date time › add or subtract days, months & years to date in java
Add or Subtract Days, Months & Years to Date in Java
February 23, 2022 - Date today = new Date(); System.out.println(today); Calendar cal = Calendar.getInstance(); cal.setTime(today); // Adding time cal.add(Calendar.YEAR, 2); cal.add(Calendar.MONTH, 2); cal.add(Calendar.DATE, 2); cal.add(Calendar.DAY_OF_MONTH, 2); // Subtracting time cal.add(Calendar.YEAR, -3); cal.add(Calendar.MONTH, -3); cal.add(Calendar.DATE, -3); cal.add(Calendar.DAY_OF_MONTH, -3); // convert calendar to date Date modifiedDate = cal.getTime(); System.out.println(modifiedDate); Happy Learning !! ... A fun-loving family man, passionate about computers and problem-solving, with over 15 years of experience in Java and related technologies.
🌐
Educative
educative.io › answers › what-is-dateutilsadddays-in-java
What is DateUtils.addDays() in Java?
The methods in Java that can be called without creating an object of the class. method of the DateUtils class that is used to add a given number of days to the Date object. It returns a new Date object.
🌐
Mkyong
mkyong.com › home › java › java – how to add days to current date
Java - How to add days to current date - Mkyong.com
November 15, 2016 - Example to add 1 year, 1 month, 1 day, 1 hour, 1 minute and 1 second to the current date. ... package com.mkyong.time; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; public class DateExample { private static final DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss"); public static void main(String[] args) { Date currentDate = new Date(); System.out.println(dateFormat.format(currentDate)); // convert date to calendar Calendar c = Calendar.getInstance(); c.setTime(currentDate); // manipulate date c.add(Calendar.YEA
🌐
Delft Stack
delftstack.com › home › howto › java › how to add one day to a date in java
How to Add One Day to a Date in Java | Delft Stack
February 2, 2024 - The instant.plus method adds the given days to Date. ... // java 1.8 package simpletesting; import java.time.Instant; import java.time.temporal.ChronoUnit; import java.util.Date; public class SimpleTesting { public static void main(String[] ...
🌐
Javatpoint
javatpoint.com › java-date-add-days
Java Date Add Days - Javatpoint
Java Date Add Days with java tutorial, features, history, variables, object, programs, operators, oops concept, array, string, map, math, methods, examples etc.
Find elsewhere
🌐
Attacomsian
attacomsian.com › blog › java-add-days-to-date
How to add days to a date in Java
October 14, 2022 - Before Java 8, java.util.Date and java.util.Calendar classes were used for handling dates and times. To add or minus days from an instance of Date, you can use the Calendar.add() method as shown below:
🌐
CalliCoder
callicoder.com › how-to-add-subtract-days-hours-minutes-seconds-to-date-java
Java Add/subtract years, months, days, hours, minutes, or seconds to a Date & Time | CalliCoder
February 18, 2022 - In this article, you’ll find several ways of adding or subtracting years, months, days, hours, minutes, or seconds to a Date in Java. import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; public class CalendarAddSubtractExample { public static void main(String[] args) { SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Date date = new Date(); System.out.println("Current Date " + dateFormat.format(date)); // Convert Date to Calendar Calendar c = Calendar.getInstance(); c.setTime(date); // Perform addition/subtraction c.add(Calendar.YEAR, 2); c.add(Calendar.MONTH, 1); c.add(Calendar.DATE, -10); c.add(Calendar.HOUR, -4); c.add(Calendar.MINUTE, 30); c.add(Calendar.SECOND, 50); // Convert calendar back to Date Date currentDatePlusOne = c.getTime(); System.out.println("Updated Date " + dateFormat.format(currentDatePlusOne)); } }
🌐
Coderanch
coderanch.com › t › 371899 › java › Adding-day-java-util-date
Adding a day to a java.util.date (Java in General forum at Coderanch)
Giselle: create an caledar object Calendar.getInstance(), and call its setTime(date) method, then calculate it however you want.
🌐
Blogger
javarevisited.blogspot.com › 2013 › 04 › ow-to-increment-decrement-date-by-days-java.html
How to add and substract days in current date in Java? Example Tutorial
Here is Java program to increment and decrement date in Java. This code shows multiple examples e.g. adding one days, subtracting one day, adding multiple days to check if month and year rolls or not. First set of examples, uses java.util.Calendar and next set uses static methods from DateUtils of Apache commons lang library.
🌐
JavaBeat
javabeat.net › home › how to add days to a date in java
How to Add Days to a Date in Java
March 20, 2024 - Calendar is an abstract class in Java that offers several methods to work with the date and time data. add() is a useful method of this class that helps us add days to the current date, specific date, or any user-specified date.
🌐
Vultr Docs
docs.vultr.com › java › examples › add-two-dates
Java Program to Add Two Dates | Vultr Docs
November 25, 2024 - Create an instance of java.util.Date to represent the starting date. Utilize java.util.Calendar to add a specified number of days to the date.
🌐
Java2Blog
java2blog.com › home › core java › java date › how to add days to date in java
How to Add Days to Date in Java - Java2Blog
November 26, 2022 - You can use add() method of Calendar class to add days to date, but this is not recommended in case you are using java 8 or later version.
🌐
Liberian Geek
liberiangeek.net › home › how-to/tips › how to add days to date in java?
How to Add Days to Date in Java? | Liberian Geek
October 20, 2025 - For addition, the provided date is first parsed and then, the addition is performed on the day part. Let’s proceed toward the implementation of the discussed scenario: import java.text.ParseException; import java.text.SimpleDateFormat; import ...
🌐
GeeksforGeeks
geeksforgeeks.org › java › add-time-to-date-in-java
How to Add Time to Date in Java? - GeeksforGeeks
July 23, 2025 - In the above program is the example of the implementation of the adding time to date in java. In this example, We can create the instance of the calendar then set the time Date() method after that adding one hour after that get the time using calendar instance then print the original date and modified date.