PHP Classes

PHP Time Class: Manipulate times and dates

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 474 All time: 5,987 This week: 47Up
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

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:474
This week:0
All time:5,987
This week:47Up
User Comments (1)
This is a very good and useful class ! lol
13 years ago (José Filipe Lopes Santos)
70%StarStarStarStar