PHP Classes

date object: Manipulate and format 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
StarStarStarStar 62%Total: 1,221 All time: 3,123 This week: 660Up
Version License Categories
dateobj 1.0GNU Lesser Genera...Time and Date
Description 

Author

This class can manipulate dates in several ways and format a date using words and conventions of your language.

It is possible to compute the difference between 2 dates in days, hours, minutes, seconds.

You can also add or subtract a period value of days, hours, years, ... and return the resulting date in a textual representation.

There are also other useful methods to get common information, like the day of the week, days in month, day of year, or to comparing two dates.

Picture of lx barjon
Name: lx barjon <contact>
Classes: 1 package by
Country: New Caledonia New Caledonia
Age: 47
All time rank: 20981 in New Caledonia New Caledonia
Week rank: 180 Up1 in New Caledonia New Caledonia Equal

  Files folder image Files (2)  
File Role Description
Plain text file dateObj.class.php Class main file, contain the class
Accessible without login Plain text file test.php Example a test file that show some of the class methods

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:1,221
This week:0
All time:3,123
This week:660Up
User Ratings User Comments (1)
 All time
Utility:91%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:62%StarStarStarStar
Rank:932
 
Excellent
15 years ago (kishore kumar)
70%StarStarStarStar