Home     PHP / Javascript / Ajax
PHP DateRange Class for PHP Script

PHP Script Codes > date-time

dateRange Class for PHP Free

Rate: | Price: Free | Publisher: Office Site | Demo: | Views: 2138

PHP Script Codes > 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.