Login   Register  
PHP Classes
elePHPant
Icontem

File: dtm_example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Albert Lash  >  class.dateTimeManager.php  >  dtm_example.php  >  Download  
File: dtm_example.php
Role: Example script
Content type: text/plain
Description: A very simple example of class usage.
Class: class.dateTimeManager.php
A class to handle date time shifting.
Author: By
Last change:
Date: 2002-08-29 18:08
Size: 609 bytes
 

Contents

Class file image Download
<?php

/**
 *
 * dtm_example.php
 *
 * This is a very simple example of how to use class.dateTimeManager.php.
 *
 * Name: dateTimeManager
 * Author: Albert L. Lash, IV
 * Email: alash@plateauinnovation.com
 * Version: 0.1
 * Date: 08/29/02 1:00PM EST
 * License: GPL
 *
 */



/** Includes */
include("class.dateTimeManager.php");

/** Create new dateTimeManager object */
$shift_time_back = new dateTimeManager;

/** Shift time back three days */
$new_time $shift_time_back->shift_dates($right_now=''"3""d");

/** Let us view the new time */
echo $new_time;






?>