Login   Register  
PHP Classes

Cool Date: Calculate the difference of time between two dates

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-01-10 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 370 All time: 6,133 This week: 1,384Up
Version License PHP version Categories  
cool-date 1.0Free for non-commercial...5.0PHP 5, Time and Date
Description Author  
This package is specific mainly for applications used in Spain Spain .

This class can be used to calculate the difference of time between two dates.

It takes two date and times strings and determines the time interval between them.

The class returns a string in Spanish that spells the time difference in seconds, minutes, hours, days, months and years.

In Spanish:

Devuelve la diferencia entre dos fechas, en segundos, minutos, horas, dias, meses, años segun corresponda.

Picture of Gustavo Gontaruk
Name: Gustavo Gontaruk <contact>
Classes: 1 package by
Country: Argentina Argentina
Age: ???
All time rank: 324546 in Argentina Argentina
Week rank: 1721 Up19 in Argentina Argentina Up

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

 Version Control Unique User Downloads Download Rankings  
 0%Total:370All time:6,133
 This week:0This week:1,384Up
 User Comments (2)  
This class uses strtotime() function, so it cannot calculate ...
3 years ago (Artur Graniszewski)
Thats a good and useful class ! lool
3 years ago (José Filipe Lopes Santos)