PHP Classes
elePHPant
Icontem

Chronos: Manipulate and format dates, times and intervals

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2005-02-25 (11 years ago) RSS 2.0 feedStarStarStar 53%Total: 1,791 All time: 2,117 This week: 1,042Up
Version License Categories
chronos 1.0Free for non-comm...Time and Date
Description Author

This class can format date and time values and perform several types of manipulation of dates, times and time intervals.

It supports:

- Dates formated in different languages
- Different timezones (conversion & handling)
- Comparison of dates, times and time intervals
- Addition and subtraction of dates with time intervals
- Some special "goto" methods to quickly get a given week of the year or month, or a given day of the year, week or month
- Output formatted dates, times and time intervals in several ways: human readable, UNIX time, MySQL formatted,...
- Calculate date values for specific purposes: get the Zodiac sign, compute the age, ...
- It is not restricted by Unix-like system specific limitations of handling dates between 1970 and 2038
- Retrieving fractions of dates, times and time intervals, like for instance how many months are in a given interval, which day of the year is a given day, ...

Picture of stefan rusterholz
Name: stefan rusterholz <contact>
Classes: 1 package by
Country: Switzerland Switzerland

  Files folder image Files  
File Role Description
Files folder imagedocumentation (2 files)
Files folder imagestrings (3 files)
Plain text file class.chronos.inc Class Code of the classes

  Files folder image Files  /  documentation  
File Role Description
  Accessible without login Plain text file class.chronos.documentation Doc. Plaintext Documentation
  Accessible without login HTML file class.chronos.html Doc. HTML Documentation

  Files folder image Files  /  strings  
File Role Description
  Plain text file data.locations.tab Data Contains timezone-id's and their timezone, geographical position and DST-Rule
  Plain text file strings.datetime.de.inc Conf. Localization file for german language
  Plain text file strings.datetime.en.inc Conf. Localization file for english language

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,791
This week:0
All time:2,117
This week:1,042Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:68%StarStarStarStar
Documentation:93%StarStarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:53%StarStarStar
Rank:1745
 
Excellent
7 years ago (kishore kumar)
70%StarStarStarStar