DateRange 1.0

DateRange is a fairly simple php class. It’s main function is to create a range of dates - allowing you to quickly check to see if a given date is within that range.

DateRange stores the start and end dates as Unix timestamps, but it is designed to take either a timestamp or a formatted date string as input. It uses the php strtotime() function to convert from a string to a timestamp, so you’re free to use any strings that you know that function can normally convert.

The dateRange class has four main properties:
- $start - the start date
- $end - the end date
- $name - a display name for your daterange
- $exceptions - a list of dates that are considered “out of the range”

License type: Other Free / Open Source License
Date added: 3 years, 11 months 28 days ago | Last updated: 3 years, 6 months 29 days ago

More popular Date & Time

This is actually one of the most advanced image hosting script. The imagetize key features: SEO, Ads Ready, Admin

Listing Files

daterange
Hot Scripts
Sponsors