Jump to content

Date Problems


ehdesign

Recommended Posts

I am having trouble with the following.

 

I want to enter a date into mySQL - 1999-02-26 (for example).  Then I want to determine if the currnet date is 30 days (or whatever) from the MONTH AND DAY ONLY of the above date.

 

So, if we use the above example, then I want the function to return TRUE on 1999-03-26 as well as return true on 2007-03-26, etc.

 

So, I need to disregard the year and then find out if I am exactly x days from the date above.

 

Any help?

Link to comment
https://forums.phpfreaks.com/topic/64134-date-problems/
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.