PHP Classes

Day Iterator: Iterate the over the days of a range of dates

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 542 All time: 5,574 This week: 455Up
Version License PHP version Categories
dayiterator 1.0.0GNU General Publi...5.0PHP 5, Time and Date
Description 

Author

This class iterates over the days of a range of dates.

It takes an initial and an end date in the form of timestamps to specify the date range.

The class implements the PHP 5 Iterator interface. Using the foreach command, it returns each day contained in the given date range.

Picture of Michal Vrchota
Name: Michal Vrchota <contact>
Classes: 6 packages by
Country: Czech Republic Czech Republic
Age: 38
All time rank: 5037 in Czech Republic Czech Republic
Week rank: 180 Up1 in Czech Republic Czech Republic Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (3)  
File Role Description
Plain text file day_iterator.php Class Main iterator class
Accessible without login Plain text file day_iterator.example.php Example Example script
Accessible without login HTML file DateIterator.html Doc. PHPDoc DayIterator

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:542
This week:0
All time:5,574
This week:455Up