Login   Register  
PHP Classes
elePHPant
Icontem

Date and Time Calculator

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Cale Orosz
Name: Cale Orosz <e-mail contact>
Packages: 3 Browse all classes by Cale Orosz Browse all classes by
Country: United States United States - PHP jobs in United States
Age: 28
All time rank: 74994 in United States United States
Week rank: 831 Down87 in United States United States Up


  Detailed description   Download .zip .tar.gz  
This class can be used to add or subtract date and time values in customizable formats using format modifiers like the PHP date() function.

It can set the date and time to a given value and then it can add or subtract a given amount of time in either seconds, minutes, hours, days, weeks, months or years.

The class functions can either return the resulting date and time or store it in a class variable for performing further add or subtract operations.

  Classes of Cale Orosz  >  Date and Time Calculator  >  Download .zip .tar.gz  >  Support forum Support forum (4)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Date and Time Calculator
Base name: date_time_calc
Description: Add or subtract dates and times in custom formats
Version: 0.9.3
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 2876 users
All time rank: 1132
Week users: 3 users
Week rank: 933 Up
 
  Groups   Screenshots Screenshots   Rate classes User ratings  
  Applications   Related links   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Time and Date Time and date values, formats and conversion View top rated classes

  Files folder image Screenshots  
Screenshot of html form that uses this class to calculate datetimes.
File Role Description
Accessible without login Image file exampleshot2.gif Screen Screenshot of html form that uses this class to calculate datetimes.
Accessible without login Image file exampleshot.gif Screen Example usage of this class.


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (95.8%)
Good (83.3%)
Good (83.3%)
Good (91.7%)
-
-
Sufficient (73.7%)
95
Month:
Not yet rated by the users

  Applications that use this class  
Link Description
Class Tester A script that generates source code for this class and shows examples of calculations.
Desktop Sticky Notes Software A php-based desktop note tracking service that uses this class.
Las Vegas Auto Glass Company An auto glass company's website that uses this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Date Time Converter Class By Elac A related class of mine that converts dates and times in many different formats.
Technology Blog of Cale Orosz My blog about technology and web development.

  Files folder image Files  
File Role Description
Files folder imagedocs (2 files)
Plain text file class.datetimecalc.php Class DateTimeCalc Class
Accessible without login Plain text file example.php Example Includes many date and time example calculations using this class.
Accessible without login Plain text file test.php Example HTML Form to test date/time calculations using this class.

  Files  /  Files folder image docs  
File Role Description
  Accessible without login HTML file example.html Doc. Class Usage/Examples
  Accessible without login HTML file date_time_formats.html Doc. List of currently accepted and coming soon date/time formats.

Download all files: date_time_calc.tar.gz date_time_calc.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.