Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting the date from PHP's date() function

Tags:

date

php

How can I use PHP's date() function to get the next day's date? I can easily get the current day's date. For example, if today is July 14, I would like to get July 15.

like image 341
PPS Avatar asked Feb 26 '26 05:02

PPS


1 Answers

date('j F', strtotime('+1 day'));
like image 95
Shef Avatar answered Feb 27 '26 20:02

Shef