PHP Classes

Horas Laborales: Calculate the number of worked hours between 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: 229 All time: 8,171 This week: 455Up
Version License PHP version Categories
horas-laborales 1.0GNU General Publi...5.0PHP 5, Time and Date
Description 

Author

This class can calculate the number of worked hours between dates.

It takes as parameters two dates the delimit the start and the end of a work period.

The class returns the number of worked hours between those two dates assuming a given start and end work time at each day. It returns the number of minutes, hours, days and months.

In Spanish:

Clase que calcula el tiempo de una tarea dentro de un horario laboral.

Innovation Award
PHP Programming Innovation award nominee
September 2013
Number 8
Sometimes it is necessary to measure the work of an employee by the number of hours he worked.

This class can count the number of hours he worked between two dates considering just the days he worked.

Manuel Lemos
Picture of Stiven castillo
Name: Stiven castillo <contact>
Classes: 1 package by
Country: Colombia Colombia
Age: ???
All time rank: 406627 in Colombia Colombia
Week rank: 227 Up2 in Colombia Colombia Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file ejemplo_horas.php Example ejemplo
Plain text file horas_laborales.php Class class

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:229
This week:0
All time:8,171
This week:455Up
User Comments (1)
good
11 years ago (Rahul Shambharkar)
70%StarStarStarStar