PHP Classes

Chronos: Manipulate and format dates, times and intervals

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 53%Total: 1,808 All time: 2,175 This week: 41Up
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 (6)  
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 (6)  /  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 (6)  /  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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,808
This week:0
All time:2,175
This week:41Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:68%StarStarStarStar
Documentation:93%StarStarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:53%StarStarStar
Rank:2183
 
Excellent
15 years ago (kishore kumar)
70%StarStarStarStar