1
I’m developing a CountDown
for a date.
What I want is to receive the next day of the month from the day of the week.
The problem is it has to be in PHP
.
Weekday:
$dw = date( "w", $timestamp); ( 0 - domingo ... 6 - sabado )
Example: I want the next event on the day of the month that the day of the week 4 = Friday
This is going to be for infinite events IE, every day during the week will appear an event.
Event1 - Monday
Event2 - Tuesday
etc etc etc...
but for the countdown
i need the date by ano/mes/dia
So I have to turn the day of the week into the next day of the month when the day of the week is the event.
For example. There will be an event next Monday the 16th.
The only data I have is that the event is every Monday.
then I want to find out the next day which is Monday
Your example was not clear kid. For example put something what you have and what you expect.
– heat
I believe his question is, when sending 0, to know what the next Sunday of the month will be, when sending 6, next Saturday, when sending 4, next Thursday, and so on...
– MarceloBoni
Check out Edit please
– user3465632