Re: Help with Date
| From: | Seth Northrop | Date: | Mon, 09 Oct 2000 09:06:41 +0000 |
| Subject: | Re: Help with Date | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-19166@lists.php.net to get a copy of this message | ||
> I think this will probably do it:
>
> $this_date = date('Y-m-d',mktime(0,0,0,date(m)+2,0,date(Y)));
>
Ooops.. didn't notice your date() directives. This should be:
$this_date = date('d-M-Y',mktime(0,0,0,date(m)+2,0,date(Y)));
> >
> > $this_date = "last_day_of_next_month" ( In d-M-Y format)
> >
Take care,
Seth