RE: [PHP-DB] Adding 1 day to date/datetime/timestamp?
| From: | John W. Holmes | Date: | Thu, 24 Oct 2002 02:47:15 +0000 |
| Subject: | RE: [PHP-DB] Adding 1 day to date/datetime/timestamp? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-22643@lists.php.net to get a copy of this message | ||
> I need to add one day to a datetime/date/timestamp field. How would I
> do this? (sorry for the n00b-ish question...) I'm using mysql.
SELECT your_column + INTERVAL 1 DAY FROM your_table;
---John Holmes...