PHP Classes

Classes of Victor Hugo Cardenas Varon

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Victor Hugo Cardenas Varon (1)  >  Mission progress status  >  Reputation  
Picture of Victor Hugo Cardenas Varon
Name: Victor Hugo Cardenas ... <contact>
Classes: 1
Country: Colombia Colombia
Age: 41
All time rank: 208911 in Colombia Colombia
Week rank: 328 Up4 in Colombia Colombia Up
All time users: 1233
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Date Span  
Calculate and spell the timespan between two dates
This class can calculate the time span between dates, not just in numbers but also spell it in a more natural was using words like this: "1 year, 6 months and 12 days".

This class is very useful when you need to present to the users how much time have passed since a past event in an easy to understand way.

The class returns the difference of time between two given dates or between a given date and the current system date.

Currently, it can spell the computed time difference in four languages: English, German (thanks to "Jürgen Fehr" and "jo t"), French (thanks to Benoit Dausse) or Spanish, which is the default. The class is designed to easily be extended to support other idioms.
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: 75% 87% - 79% - - 54% 2100
Month: Not yet rated by the users


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z