Date class and Span.php

From: Date: Sun, 07 Sep 2003 04:30:59 +0000
Subject: Date class and Span.php
Groups: php.general 
Request: Send a blank email to php-general+get-161888@lists.php.net to get a copy of this message
I am trying to use the Date class and am having trouble with it. Since I'm just starting to use PEAR modules I'm not sure if I'm missing something simple or just what. Date.php calls for an include of a file called Span.php, but the file does not exist in the date subdirectory. I've found some references to that file being missing, so I located a file by that name in the CVS directory and installed it. However, it 'includes' Date.php, the very file that calls it, so I'm unsure that I've got the right thing. However, I commented out those includes and I do not get an error, but I'm unable to get any return from Span.php. I'm trying to use the method addSpan($span), but I have no idea how to 'phrase' the $span variable. If I want to add a span of 6 months, how do I do so? Anyone out there with some experience with this module who can help me? Thank you, Nelson
         _________________________________________________
         Nelson GOFORTH 				Lighting for Moving Pictures
         +1.303.322.5042 				http://www.earthnet.net/~ngoforth/film


« previous php.general (#161888) next »