Date Formatting/Reading

From: Date: Thu, 13 Dec 2001 10:27:13 +0000
Subject: Date Formatting/Reading
Groups: php.general 
Request: Send a blank email to php-general+get-77563@lists.php.net to get a copy of this message
Hi! =) I'm doing a website that will be using a pay-per-month membership program. There's a field for 'lastpaid' that holds the date the last paid (sorry to state the obvious). My questions are these: 1) What would be the best way to format it so PHP can see if it's been 30 days since it was last paid? 2) What line of code would be used to check? 3) Would I set the field type to DATE, DATETIME, TIMESTAMP or soemthing else? Any help you can give would be much appreciated! I woulda taken the time to study it more in-depth but I'm trying to get as much done on this in 5 hours as I can. =) ~ Tim -- From PHPGalaxy.com, earn up to $10 per order selling our PHP Scripts and Software on your Site. http://www.phpgalaxy.com/aff/ Also, get a fast free POP3 email account, you @php.la at http://www.phpgalaxy.com/search/

« previous php.general (#77563) next »