![]() |
How can I tell with a date string if the last activity # is two+ weeks old? Is there a number that can show two weeks?
LIke if I have the number: 988515692 How can I check to see if that number is two or more weeks old? Like what would the if statement look like and what else do I need? |
Basicially my question is: is that # above in seconds? And when from? If I minus 1209600 from it will that be two weeks ago?
Ahh, this is getting a bit confusing... how is the lastactivity string formatted? If I do Code:
$postsresult = mysql_query("SELECT userid,username,email,icq,posts,lastactivity FROM user WHERE usergroupid=9 ORDER BY lastactivity desc") or die("Unable to complete query"); |
I believe it's seconds since 01-01-1970 and subtracting seconds should work.
|
All times are GMT. The time now is 03:48 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|