Login   Register  
PHP Classes
elePHPant
Icontem

PHP Time Class: Manipulate times and dates

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 430 This week: 1All time: 5,684 This week: 1,380Up
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: 28
All time rank: 307610 in Nigeria Nigeria
Week rank: 1040 Up8 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:430All time:5,684
 This week:1This week:1,380Up
 User Comments (1)  
 
This is a very good and useful class ! lol
2 years ago (Josť Filipe Lopes Santos)
70%StarStarStarStar