PHP Classes

Cool Date: Calculate the difference of time between two dates

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 384 All time: 6,682 This week: 213Up
Version License PHP version Categories
cool-date 1.0Free for non-comm...5.0PHP 5, Time and Date


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: 358053 in Argentina Argentina
Week rank: 373 Up4 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  
This week:0
All time:6,682
This week:213Up
User Comments (2)
This class uses strtotime() function, so it cannot calculate ...
12 years ago (Artur Graniszewski)
Thats a good and useful class ! lool
12 years ago (José Filipe Lopes Santos)