Login   Register  
PHP Classes

Clase DateTimeManager: Add or subtract a period to a date

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

  Author Author  
Picture of Damian Sabia
Name: Damian Sabia <e-mail contact>
Packages: 1 Browse all classes by Damian Sabia Browse all classes by
Country: Argentina Argentina - PHP jobs in Argentina
Age: 33
All time rank: 307840 in Argentina Argentina
Week rank: 1972 Up31 in Argentina Argentina Up

  Detailed description   Download Download .zip .tar.gz  
This is a simple class that can be used to add or subtract a period to a date.

It takes as parameter a date with time in the ISO format as it is used also by MySQL. It can take an empty date string to specify the current date and time.

The class can add or subtract from the specified date and time a value in years, months, day, hours, minutes or seconds.

The resulting date is returned in the ISO format.

The code and comments are in Spanish.

In Spanish:
Esta clase permite moverse en el calendario hacia adelante y atras, se le pasa una fecha, la cantidad de unidades a moverse y la unidad (dia, mes, aņo, hora, minuto o segundo) y nos retorna la fecha resultado en formato MySQL.

  Classes of Damian Sabia  >  Clase DateTimeManager  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Clase DateTimeManager
Base name: clasedatetimemanager
Description: Add or subtract a period to a date
Version: 1.0
PHP version: 4.0
License: Freeware
All time users: 404 users
All time rank: 5734
Week users: 0 users
Week rank: 2029 Equal
  Groups   Rate classes User ratings   Applications   Files Files  

Group folder image Time and Date Time and date values, formats and conversion View top rated classes

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file claseDateTimeManager.inc.php Class Clase PHP

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