I have a php script that shows a mini calendar on my site [url=http://www.LBPP.net/geeklog]http://www.LBPP.net/geeklog[/url], right now the days are abbreviated to 3 chars ie "Sun" because of this it is making the calendar too wide and is being cut off. I need to truncate the output of this script to just one char so its like "S" "M" "T" "W" "T" "F" "S". This is what i have: [code] // Main Calendar $BlockDisplay .= "</td></tr><tr>"; for ($i = 0; $i < 7; $i++) { $BlockDisplay .= "<td align='center' valign='top' width='14%' class='mycalTitle'><font size='1'><b>" . ucfirst(strftime("%a", $firstdaytodisplay + ($i * _MYCAL_DAY_))) . "</b></font></td>"; } [/code] I did not write this code and am only trying to modify it, but my PHP skills are limited. Any insight in the direction i need to take would be much appreciated.