Q 2 on Date Package, pls...
| From: | jsWalter | Date: | Wed, 30 Jul 2003 07:45:22 +0000 |
| Subject: | Q 2 on Date Package, pls... | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-6913@lists.php.net to get a copy of this message | ||
I figured out how to define a new Date Object (I'm slow tonight).
$myDate = new Date();
I figured out how to access the methods of the Date Class
$myDate->isLeapYear('2003'))
But I can't figure out how to pull the date/time parts out of this new Date
Object?
I see all the parts defined as vars at the top of the Calc.php file, but how
do I access them?
I'm just slow tonight.
Thanks
Walter
--
Always remember to pillage BEFORE you burn.
-- Attila the Hun to his sons as they sat around the fire
(of Budapest) one night.