I made a calendar that displays on the top of my site that shows all the days of the week starting with sunday. I want to use getDate to make the cell of each day be the cell of that day for the current week. I need to do this because i an going to check a database for events scheduled for that week and have it display the events name on the day that it is occuring. Also for the current day i wanted it to have a different cell color.
I should be able to do the cell color and the database info myself but i really have no idea how i would go about making each cell be the correct day i want displayed.
Here's an image of what i'm trying to achieve

|