Hard when you can't test it. I am surprised got that far.
from
PHP Code: 
echo "<td>" $colorPrefix $date $colorSuffix ."</td>"
to
PHP Code: 
echo "<td>" $colorPrefix $date->format("m-d-Y") . $colorSuffix ."</td>"
Lock Down Reviewed by Lock Down on . i need help php and sql script I am making in this database should help me see my database images http://vvcap.net/db/KWBZVLTBV8XJYL-0YKBb.png PPM Due Date in the day, as it becomes red in the table. like: today date is: 28-02-2012, today agha khan product is expire to auto change color this table and i want to change date format like: D-M-Y please help me Rating: 5