Tagged: php date function

3

Date Addition and Subtraction in PHP

While development, you might need to add or subtract date from other date. It’s very easy via PHP date and strtotime functions. Following are few examples. Add 2 Months in current date. You can...