Re: [PHP] Re: Previous and Next Month and Year

2007-06-17 Thread Myron Turner
Keith Spiller wrote: Hi Vlad, Thank you for taking the time to help me. The code: $prev_month = date('F Y', mktime(0, 0, 0, 0, date('m') - 6, date('Y'))); $next_month = date('F Y', mktime(0, 0, 0, 0, date('m') + 6, date('Y'))); echo "$prev_month \n"; echo "$next_month \n"; Generates: N

Re: [PHP] Re: Previous and Next Month and Year

2007-06-17 Thread Keith Spiller
Hi Vlad, Thank you for taking the time to help me. The code: $prev_month = date('F Y', mktime(0, 0, 0, 0, date('m') - 6, date('Y'))); $next_month = date('F Y', mktime(0, 0, 0, 0, date('m') + 6, date('Y'))); echo "$prev_month \n"; echo "$next_month \n"; Generates: November 2006 Decembe