PHP Classes
Icontem

Class: Work Days


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Si Cranmer  >  Work Days  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Work Days Support forum
Base name: clsworkdays
Description: Calculate business days between dates
Version: -
Required PHP version: -
Licenses: Free For Educational Use
Free for non-commercial use
All time users: 1117 users
All time rank: 2281
Week users: 5 users
Week rank: 1518
Country specific: This package is specific mainly for applications used in United Kingdom United Kingdom .
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Si Cranmer
Name: Si Cranmer <e-mail contact>
Published packages: 1 Browse this author's classes Browse this author's classes
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Home page: http://www.ibridge.co.uk/
Age: 40
All time rank: 1411
Week rank: 1086

Innovation Award

PHP Programming Innovation award nominee
October 2006
Number 5
Calculating the number of days between two dates is a need that applications often have.

For businesses, it is also important to know how many work days separate two dates, as businesses only operate in those days.

This class is able to perform calculations that can consider only business days, thus excluding weekends and holidays.


Manuel Lemos

Groups

Group folder image Time and Date Time and date values, formats and conversion View top rated classes

Detailed description

This class can be used to calculate the number of business days between two dates.

It can calculates the number of days excluding business holydays and weekend days that occur between the two given dates.

The class can also check if a given date and is a valid business day.

Currently it considers only United Kingdom holidays but the class can easily be expanded to support other countries.

User ratings

Not yet rated by the users

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file clsWorkDays.php Class main class
Plain text file holidays_test.php Example Example of Script useage
Download all files: clsworkdays.tar.gz clsworkdays.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products