On Mon, Feb 12, 2001 at 11:06:16PM -0600, Christopher Allen wrote:
> $tomorrow = date ("d", mktime(0,0,0,0,date("d") +4 ) );
> echo "Today + 4 days is $tomorrow <br>";
> screws up Feb et al....
If you add the month and year, it should work just fine.
$tomorrow = date ("d", mktime(0,0,0,date("m"),date("d") +4,date("Y")));
--
Jason Stechschulte
[EMAIL PROTECTED]
--
It's all magic. :-)
-- Larry Wall in <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]