Pulling Date from MySQL then subtract

From: Date: Sat, 22 Jan 2005 14:37:56 +0000
Subject: Pulling Date from MySQL then subtract
Groups: php.db 
Request: Send a blank email to php-db+get-38262@lists.php.net to get a copy of this message
I am needing some clarification on doing math with dates pulled from MySQL. The date format in the database is YYY-MM-DD and what I want to do is pull the date out, then add/subtract 30 days from the date. I have read through the manual, but for some reason, I'm just not getting it. Any help and/or examples would be greatly appreciated. Jess --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.832 / Virus Database: 566 - Release Date: 1/10/2005

« previous php.db (#38262) next »