Hello,
This is a reply to an e-mail that you wrote on Wed, 30 Jul 2003 at
19:18, lines prefixed by '' were originally written by you.
If I have:
$firstdate = 2003-06-28;
then how can I get $firstdate plus 4 days?
Thanks!
David Nicholson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
This is a reply to an e-mail that you wrote on Wed, 30 Jul 2003 at
19:18, lines prefixed by '' were originally written by you.
If I have:
$firstdate = 2003-06-28;
then how can I get $firstdate plus 4 days?
On Jul 30, 2003, Roy W claimed that:
|If I have:
|
|$firstdate = 2003-06-28;
|
|then how can I get $firstdate plus 4 days?
|
|Thanks!
It looks like that date may have come from a [mysql] database. If that's
the case, you should be able to add 4 days in your query, by using
DATE_ADD()
check
Why not just get the month with another call to date(m) as well? Then call date(W)
to get the
week, if that's required?
- Original Message -
From: adrian [EMAIL PROTECTED] [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 20, 2003 8:42 AM
Subject: [PHP] simple date question
why not just call date('m') to get the month?
justin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
5 matches
Mail list logo