Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-06-22 (7 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 530 All time: 5,086 This week: 1,438Up
Version License PHP version Categories  
dayiterator 1.0.0GNU General Public Lice...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: 28
All time rank: 4546 in Czech Republic Czech Republic
Week rank: 1125 Down10 in Czech Republic Czech Republic Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
 0%Total:530All time:5,086
 This week:0This week:1,438Up