|
Posted by laredotornado@zipmail.com on 11/27/06 03:22
Hi,
Using PHP 4.4.4 and I'm getting an odd time stamp attempting to make a
php date. Here's the code
$reqDate = date("Y-m-d", mktime(0, 0, 0, $y, $m, $d));
$reqDateTS = strtotime($reqDate);
If $y = 2006, $m = 12, and $d = 28, I get a negative value for
$reqDateTS. What is wrong with the above statement?
Thanks, - Dave
Navigation:
[Reply to this message]
|