Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date comparisons using date already stored in the db

Status
Not open for further replies.

alexisb

Programmer
Apr 5, 2001
100
US
A date is stored in a mysql db as follows, for example: "January 31, 2001". I want to compare 30 days after this date to today's date. I know how to compare a date to 30 days after today, but I can't figure out how to work with a date other than today. I checked the PHP manual on line but didn't see anything that fit our situation (due to the way the dates are stored in our db). I hope this is not a stupid question. Thanks in advance for your help!
Alexis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top