Jump to content

Checking for a week later


sotusotusotu

Recommended Posts

Hi guys,

 

I'm sure there might be a way of doing this with pure SQL, however, as I haven't had this issue before I'm unsure.

 

I have a datetime field in my database named 'letter_dispatch_date' (2009-04-26 22:07:59).  I am basically trying to check if it has been exactly a week after an entry.  So for example, on 2009-05-05 23:08:00 I want to be able to tell if this issue is true then proceed. I hope this makes sense and someone can give me an example.

 

Cheers guys,

Andy

Link to comment
https://forums.phpfreaks.com/topic/156013-checking-for-a-week-later/
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.