in reply to Producing Calender

I am trying to produce a calender, which I have managed to do using perl modules but I want to avoid using any for this particular task.

If you're looking to borrow code to get this done, you're welcome to mine. I went through the same exercise a couple of years ago. My calendar code, which produces and HTML table, is here.

The interesting part is figuring out what day of the week the month starts on.