Re: date functions

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

 



> I am looking for a way to take a date stored in a mysql database... and
find
> out the date seven days later.
>
> how would i do this?!

too easy...

SELECT date_column + INTERVAL 7 DAY FROM your_table ...

---John Holmes...


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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux