Re: Help with Date
| From: | Richard Vibert | Date: | Mon, 09 Oct 2000 10:26:05 +0000 |
| Subject: | Re: Help with Date | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-19168@lists.php.net to get a copy of this message | ||
Thanks for that ..... works great.
At 02:06 am 9/10/00 -0700, Seth Northrop wrote:
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)));======================================= Richard Vibert richard@viberts.com.au Tatura Mitre10 =======================================$this_date = "last_day_of_next_month" ( In d-M-Y format)Take care, Seth