Messing with Dates
| From: | Phillip S. Baker | Date: | Tue, 29 Aug 2000 17:37:33 +0000 |
| Subject: | Messing with Dates | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-14189@lists.php.net to get a copy of this message | ||
Greetings All,
In some records I am pulling from a MySQl database I have a field called last_updated. With the date that this field was last updated.
Now after I pull all the records from the DB I want to use PHP find out if the last_updated field date is within the last month. If so then to display an updated next to the record (this I can do).
having trouble figuring out how to do the date math to determine if the date in last_updated field is within the last month.
Thanks
--
Phillip S. Baker
phillip@wordsandimages.com
Words & Images, Inc.
1535 Seabright Avenue, Suite 100, Santa Cruz, CA 95062
Direct Line (831) 420-2641 / Fax (831) 458-0808