How to Get PHP Date + 1 Day
During programming, we might be required to get tomorrow's date or the next date for any given date. We will go through several methods to cover the current topic of how to get the next date in PHP. Stay tuned!
But before going to determine tomorrow or next Nth date it is recommended to check PHP date/time functions and their usage.
We have explained some DateTime functions definitions and examples which we will use here. Let's dive into the following step by step approach to learn How to Get PHP Date + 1 Day with examples:PHP add 1 day to current date
echo date('j F, Y',strtotime("+1 days"));
Result: 31 January, 2022
Note: Current Server Date was: 30 January 2022 when calculating tomorrow using above code
Code Explanation:
- strtotime converts English text "+1 days" into a corresponding Unix timestamp.
- Timestamp received from strtotime function further passed to date function to get next date in given format j F, Y
Find Next Date for any Given date using strtotime function
Get next 7 day date
Get the previous date in PHP
We have already covered calculating the date minus 1 day from today or for any given date. Please visit here to learn more.
How to Get PHP Date + 1 Day
During programming, we might be required to get tomorrow's date or the next date for any given date. We will go through several methods to cover the current topic of how to get the next date in PHP. Stay tuned!
But before going to determine tomorrow or next Nth date it is recommended to check PHP date/time functions and their usage.
We have explained some DateTime functions definitions and examples which we will use here. Let's dive into the following step by step approach to learn How to Get Next Date in PHP with examples:Brain Exercise

The hands of a clock make a straight line multiple times in a day. Find how many times clock hands are in a straight line but in the opposite direction.