Problem with Calendar php package from PEAR: Days are skewed one day early
| From: | Jared Farrish | Date: | Fri, 10 Nov 2006 16:00:58 +0000 |
| Subject: | Problem with Calendar php package from PEAR: Days are skewed one day early | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-25757@lists.php.net to get a copy of this message | ||
Good Morning!
I am working on a calendar scheduling program that runs in PHP, and I am
having a problem with the Calendar package (v1.4) from the PEAR repository.
Would you mind taking a look at the code to see if I've done something
wrong?
I have run this on a development machine that is separate from our network
and experienced the same problem (all days are one day earlier, meaning
today is represented as the 11th of November). I have also been digging
through the Calendar package to see if there's something that might clue me
in, and so far I haven't figured out what's wrong.
Here's the link to the calendar script output:
https://web2.unt.edu/riskman/Includes/rmes_oncallfiresafety.inc.php
And here's the link to the calendar code behind:
https://web2.unt.edu/riskman/Includes/rmes_oncallfiresafety.inc.php?html=true
I hope someone can help me figure out what's wrong. I just can't understand
why it's giving me the wrong date/day of the week combination.
Thanks!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: "If the only tool you have is a hammer, you tend to see
every problem as a nail." $$