{PEAR} Calendar getTimeStamp problem
| From: | Gerard Bowe | Date: | Thu, 06 Oct 2005 12:16:49 +0000 |
| Subject: | {PEAR} Calendar getTimeStamp problem | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-21258@lists.php.net to get a copy of this message | ||
Is it possible to use the $Month->getTimeStamp() with the PearDate CALENDAR_ENGINE.
If I use the following
define('CALENDAR_ENGINE', 'PearDate');
$Month = new Calendar_Month_Weekdays($year, $month);
$Month->getTimeStamp();
it returns January 1970,
however if I do not set the 'CALENDAR_ENGINE' everything works fine.
//define('CALENDAR_ENGINE', 'PearDate');
$Month = new Calendar_Month_Weekdays($year, $month);
$Month->getTimeStamp();