PHP Classes

PHP Working Days: Calculate the total working days between two dates

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2021-11-22 (5 months ago) RSS 2.0 feedStarStarStarStar 64%Total: 470 This week: 1All time: 5,976 This week: 174Up
Version License PHP version Categories
working-days 1.1GNU General Publi...5.3PHP 5, Time and Date
Description Author

This class can calculate the total working days between two dates.

It takes a start date and a end date and it computes the total number of working days excluding the weekend and holiday days that happen between the dates.

The days of the week that are considered weekend days and the holidays dates are configurable parameters.

Picture of Tariqul Islam
  Performance   Level  
Name: Tariqul Islam <contact>
Classes: 3 packages by
Country: Bangladesh Bangladesh
Age: 42
All time rank: 194328 in Bangladesh Bangladesh
Week rank: 214 Up8 in Bangladesh Bangladesh Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Usage Example
Plain text file totalworkingdays.php Class Main Class File

 Version Control Unique User Downloads Download Rankings  
 100%
Total:470
This week:1
All time:5,976
This week:174Up
 User Ratings  
 
 All time
Utility:91%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:91%StarStarStarStarStar
Tests:-
Videos:-
Overall:64%StarStarStarStar
Rank:937
  
For more information send a message to info at phpclasses dot org.