Jump to content

Doing math with DATE


jester626

Recommended Posts

This is a PHP/MySQL question of sorts. I have a field called FollowUpDate in the DB. What I want to be able to do is to do some math in PHP that will show me a record when it is within 7 days of the follow up date. My DB field is of the DATE Type (YYYY-MM-DD) and for the life I me I can't figure out how to pull the data out as I need it.

Any help would be greatly appreciated
Link to comment
https://forums.phpfreaks.com/topic/16038-doing-math-with-date/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.