RE: [PHP-WIN] Date question?
| From: | George Pitcher | Date: | Fri, 12 Sep 2003 14:49:39 +0000 |
| Subject: | RE: [PHP-WIN] Date question? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-21378@lists.php.net to get a copy of this message | ||
> >> If I have a date (2003-04-02) and want to select 9 months later,
> >> how to do?
> >>
> >
> >Try this:
> >
> >echo date("Y-m-d",strtotime("2003-04-02 +9 month"));
>
> [bats@localhost bats]$ echo date("Y-m-d",strtotime("2003-04-02 +9
> month"));
> bash: syntax error near unexpected token `('
> [bats@localhost bats]$
Please tell: how do you get this stuff on Windows?
George
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>