jester626 Posted July 30, 2006 Share Posted July 30, 2006 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 More sharing options...
legohead6 Posted July 30, 2006 Share Posted July 30, 2006 pull it out so its in a variable called $date then go echo"date(formathere, $date)"; Link to comment https://forums.phpfreaks.com/topic/16038-doing-math-with-date/#findComment-66032 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.