PHP Classes

PHP Time Class: Manipulate times and dates

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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: 451 All time: 5,757 This week: 1,041Up
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: 314714 in Nigeria Nigeria
Week rank: 1653 Up13 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:451All time:5,757
 This week:0This week:1,041Up
 User Comments (1)  
This is a very good and useful class ! lol
4 years ago (Josť Filipe Lopes Santos)