RE: [PHP-WIN] Date question?
| From: | HKG) | Date: | Fri, 12 Sep 2003 14:45:20 +0000 |
| Subject: | RE: [PHP-WIN] Date question? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-21377@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]$