PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStar 53%Total: 1,805 All time: 2,173 This week: 381Up
Version License Categories
chronos 1.0Free for non-comm...Time and Date


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
Age: ???
All time rank: 161316 in Switzerland Switzerland
Week rank: 398 Up6 in Switzerland Switzerland Up

  Files folder image Files  
File Role Description
Files folder imagedocumentation (2 files)
Files folder imagestrings (3 files)
Plain text file 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 Contains timezone-id's and their timezone, geographical position and DST-Rule
  Plain text file Conf. Localization file for german language
  Plain text file Conf. Localization file for english language

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,173
This week:381Up
User Ratings User Comments (1)
 All time
14 years ago (kishore kumar)