[Solved] Checking if the current date is greater than last monday [closed]

[ad_1]

The php date function can return a numeric representation of the day of the week.

$current_date = (int)date('w');

Then you could walk through a loop outputing the remaining days.

1

[ad_2]

solved Checking if the current date is greater than last monday [closed]