PEAR::Calendar: Can you build a week with only the year and the week number
| From: | Peter Monsson | Date: | Thu, 22 Jul 2004 14:03:08 +0000 |
| Subject: | PEAR::Calendar: Can you build a week with only the year and the week number | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-13803@lists.php.net to get a copy of this message | ||
Hi all,
From the documentation I can't see whether it's possible to build a specific week just from the year and the week number. Ideally I'd like to build the week like this
$Week = new Calendar_Week($year, $weeknumber, 'n_in_year');
but that's not possible (yet) so I'm wondering whether there is an other way to achieve the same result without having to iterate through the whole year.
Thanks a lot
Peter