lto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 2:06 PM
To: php
Subject: [PHP] mktime + 4 days
Hi!
How to get this to work for every month:
$tomorrow = date ("d", mktime(0,0,0,0,date("d") +4 ) );
echo "Today + 4 days is $tomorrow ";
screws
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 ";
> screws up Feb et al
If you add the month and year, it should work just fine.
$tomorrow = date ("d", mktime(
Hi!
How to get this to work for every month:
$tomorrow = date ("d", mktime(0,0,0,0,date("d") +4 ) );
echo "Today + 4 days is $tomorrow ";
screws up Feb et al
Thanks,
Christopher C. M. Allen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMA
3 matches
Mail list logo