Updated: 01/27/2008

dateRange Class for PHP

dateRange is a simple php class designed to help you determine if a date is in a given range. You can create a new dateRange with a start date and an end date. You can also optionally give it a name and create a list of dates that are &"excluded&" (i.e. within the start and end dates, but not considered valid for your purposes). Useful as a convenience class for calendar modules, for form validation, for determining the current season, and all kinds of other things.