PHP Classes

Horas Laborales: Calculate the number of worked hours between dates

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 228 All time: 8,152 This week: 213Up
Version License PHP version Categories
horas-laborales 1.0GNU General Publi...5.0PHP 5, Time and Date


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: 405127 in Colombia Colombia
Week rank: 654 Up2 in Colombia Colombia Up
Innovation award
Innovation award
Nominee: 1x

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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,152
This week:213Up
User Comments (1)
10 years ago (Rahul Shambharkar)