PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2011-11-04 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 456 All time: 5,787 This week: 965Up
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: 29
All time rank: 316814 in Nigeria Nigeria
Week rank: 1394 Up11 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  
 0%
Total:456
This week:0
All time:5,787
This week:965Up
User Comments (1)
This is a very good and useful class ! lol
4 years ago (Josť Filipe Lopes Santos)
70%StarStarStarStar