PHP – List a range of dates

This will display ten dates starting from yesterday. The words Yesterday and Today will be added to the relevant dates.

$now = time() - 60*60*24;
echo '';

Date Format
l – Monday to Sunday
j – Day of Month – 1-31
F – Month Name – January to December
Y – Full Year – 2010