PHP date() - how to display a date that is not today's? -
this question has answer here:
- php, tomorrows date date 10 answers
the date() function in php returns current time , date, example
date('l js f');
would return
tuesday 24 september
in calendar app i'm buiding, display 7 dates, starting current day: tuesday 24 september, wednesday 25 september, ... monday 30 september
is there easy way date()? if not, possible somehow add 1 day date?
thanks help
date('l js f', strtotime("+1 day"));
Comments
Post a Comment