|
-
Aug 6th, 2009, 05:28 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] date difference
Hi guys, I need help about date differences. See we have a link that I want to expire it after 3 months. So if the user goes to that link, it will say it's expired.
I don't know what is the logic behind it to identify the date that saved in the database and compare it to today's date. If today's date is greater than the date in the db 3 months and more, then the link is expired. Or the year is greater than the year in the db, link expired.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|