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 Quote 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)"; Quote Link to comment https://forums.phpfreaks.com/topic/16038-doing-math-with-date/#findComment-66032 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.