User getPointsEarnedInPeriod

From Catglobe Wiki
Jump to: navigation, search



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