Monday, November 5, 2007

Numeric representation of the day of the week 0 (for Sunday) through 6 (for Saturday)

$today = getdate();
echo $today[wday];

No comments:

Post a Comment