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


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

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