WebmasterSite.net
PHP scripts to enable your creativity
Home
Web Scripts
WSN Links
WSN Gallery
WSN Knowledge Base
WSN Forum
WSN Classifieds
WSN Directory
WSN AdUnblocker
WSN FormEmail
WSN InstaChat
WSN Redirector
WSN Webcomic
WSN Guest
Reviews
WSN For WordPress
WSN For Web Designers
Webmaster Resource Links
Register
Log In
Username
Password
Login
Forgot your password?
WSN Support Forums
Paid Scripts Support
event variables in toplists
event variables in toplists
Details
Discussion
2
Print
Comments on event variables in toplists
•
joshberm
Nothing is impossible...
Usergroup:
Customer
Joined:
Aug 07, 2006
Location:
Tampa, Florida
Total Topics:
36
Total Comments:
91
•
joshberm
#1 -
Quote
-
Permalink
Posted Oct 05, 2006 - 1:03 PM:
How do I filter my events toplist so that only events starting in the next week (or 2 weeks, or month) will show?
Thanks
•
Paul
developer
Usergroup:
Administrator
Joined:
Dec 20, 2001
Location:
Diamond Springs, California
Total Topics:
61
Total Comments:
7868
•
Paul
#2 -
Quote
-
Permalink
Posted Oct 05, 2006 - 7:15 PM:
The mysql function UNIX_TIMESTAMP() is handy for getting the current time, and there are 86400 seconds in a day, so:
starttime > UNIX_TIMESTAMP() AND starttime < UNIX_TIMESTAMP() + (86400 * 7)
Search thread for
Go ►
Download thread as
text
HTML
Go ►
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on event variables in toplists
Nothing is impossible...
Usergroup: Customer
Joined: Aug 07, 2006
Location: Tampa, Florida
Total Topics: 36
Total Comments: 91
How do I filter my events toplist so that only events starting in the next week (or 2 weeks, or month) will show?
Thanks
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The mysql function UNIX_TIMESTAMP() is handy for getting the current time, and there are 86400 seconds in a day, so:
starttime > UNIX_TIMESTAMP() AND starttime < UNIX_TIMESTAMP() + (86400 * 7)