The TT calendar library is a PHP library for producing and manipulating calendar months as HTML. It simplifies the process of producing a calendar as an HTML table, and allows individual days and ranges of days to be coloured or enclosed in anchor tags at will. It has been tested with PHP versions greater than 4.0.6. This software is free open source software released under the terms of the GNU Lesser General Public Licence.