Date Issue
| From: | admin at buskirkgraphics dot com | Date: | Mon, 17 Nov 2008 16:49:34 +0000 |
| Subject: | Date Issue | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-283370@lists.php.net to get a copy of this message | ||
$smont = 10;
$sday = 13;
$syear = 2008;
$timestamp = mktime(0,0,0,$smont,$sday,$syear);
$thismonth = getdate($timestamp);
Here is where the problem comes into play.
echo $thismonth['yday'];
This displays 286 when in fact its 287.
Is there a problem in my ini file or what is the deal.