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!
      Classes of Si Cranmer  >  Work Days  >  Download  >  Support forum Support forum  >  RSS 1.0 feed RSS 2.0 feed Latest changes  >  Stumble It! Stumble It!  >  Bookmark in del.icio.us Bookmark in del.icio.us  
  Supplied by   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  
  • Supplied by:

    Picture of Si Cranmer
    Name: Si Cranmer <e-mail contact>
    Published packages: 1
    Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
    Home page: http://www.ibridge.co.uk/
    Age: 39
    All time rank: 1432
    Week rank: 951

    Browse this author's classes

  • 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-2008 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products