PHP day of week numeric to day of week text

Bit of a hack, but:

$dow_text = date('D', strtotime("Sunday +{$dow_numeric} days"));

Leave a Comment