Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User getPointsEarnedInPeriod

From Catglobe Wiki



User_getPointsEarnedInPeriod

Get points the user erarned in a period time

Syntax

User_getPointsEarnedInPeriod (number userRId, arrayDateTime From, arrayDateTime To);

Arguments

userRId: number. User resource id

From: DateTime array. From period

To: DateTime array. To period

Return type

Number

Example

DateTime dtFrom = new DateTime("2013/9/1");
DateTime dtTo = new DateTime("2013/9/30");
User_getPointsEarnedInPeriod(10768810, dtFrom.AsArray, dtTo.AsArray);//100