php - Checking if the current date is greater than last monday -


so looking is, how can show days remain of week until sunday, current date , not show passed days of current week ? please point me in right direction, don't know start from...

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

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

then walk through loop outputing remaining days.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -