CWCalendarName is a small PHP function that returns the Church of England liturgical name of the given date, for example, "Easter Day", "The Second Sunday after Trinity", "The Second Sunday before Advent", etc. All Sunday names are included, as well as a smattering of the more important names of other days, such as Christmas Day, days in Holy Week, etc.
You may use it freely in your own code under the terms of a BSD-style license. The license is included in the CWCalendarName source code download.
I don’t know the calendar name of Sunday, 19 October 2008.
string CWCalendarName ( int timestamp )
Returns a string containing the liturgical name of the given day, according to the Church of England Calendar, Common Worship.
Note: The valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT. (These are the dates that correspond to the minimum and maximum values for a 32-bit signed integer). However, before PHP 5.1 this range was limited from 01-01-1970 to 19-01-2038 on some systems (e.g. Windows).