RE: Date question?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >> 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
> 
> 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux