Re: [PHP] Simple date question

2003-07-30 Thread David Nicholson
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!

Re: [PHP] Simple date question

2003-07-30 Thread Kevin Stone
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?

Re: [PHP] Simple date question

2003-07-30 Thread Jeff Harris
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

Re: [PHP] simple date question

2003-01-20 Thread Rick Emery
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

Re: [PHP] simple date question

2003-01-20 Thread Justin French
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