PHP date_add() function
In this article, you will learn how to add some days, months, years, hours, minutes, or seconds to a date. The PHP date_add() function does the job for us. What is the syntax of the function in PHP? Parameter Description object DateTime object – Required interval DateInterval object – Required PHP date_add() method Examples of …