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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to