PHP Classes

PHP Time Class: Manipulate times and dates

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 472 All time: 5,969 This week: 231Up
Version License PHP version Categories
seuntech-timeclass 1BSD License4.0HTML, Time and Date
Description Author

This class can perform several types of operations to manipulate times and dates. Currently it can:

- Convert a time string into a timestamp value
- Take a timestamp value and return a string telling how it passed since that time
- Calculate the number of days or time between two dates
- Calculate the date and time adding an offset to the current date and time
- Return the name of the current season of the year.
- Return an array with all years starting 1910 and a given date
- Format a given date
- Return HTML to display a calendar of a given month and year

Picture of seun makinde
Name: seun makinde <contact>
Classes: 1 package by
Country: Nigeria Nigeria
Age: 36
All time rank: 331622 in Nigeria Nigeria
Week rank: 544 Up12 in Nigeria Nigeria Up

  Files folder image Files  
File Role Description
Plain text file examples.php Example example/documentation
Plain text file php4_timeclass.php Class php4_timeclass
Accessible without login Plain text file timeclass.php Class the main class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,969
This week:231Up
User Comments (1)
This is a very good and useful class ! lol
10 years ago (Josť Filipe Lopes Santos)
For more information send a message to info at phpclasses dot org.