Error 403 from Google Calendar? Upgrade to the new Google Calendar support. See here for details. close
Welcome, Guest
Please Login or Register.    Lost Password?

How to count events in a category
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: How to count events in a category
#18014
How to count events in a category 2 Years, 3 Months ago  
I need a script to count events in a category for the current year

Can it be done?
zgmladen
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Location: Hrvatska (Croatia)
Last Edit: 2012/09/20 05:47 By zgmladen.
The administrator has disabled public write access.
 
#18018
Re: How to count events in a category 2 Years, 3 Months ago  
I think it could be.

You can list all the events for each day of the year. Then check if the category is the one you want, and then add the ID to a list. If the ID is already there you can count it twice or more, or simply discard (I don't know what you want).
I'm sure this isn't the only way.
Jorge_Luis
Platinum Boarder
Posts: 795
graphgraph
User Offline Click here to see the profile of this user
Gender: Male My Rainlendar Skins Location: Argentina Birthday: 03/15
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop