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 getPointsUsedInPeriod

From Catglobe Wiki



User_getPointsUsedInPeriod

Get points the user used in a period time

Syntax

User_getPointsUsedInPeriod (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_getPointsUsedInPeriod(10768810, dtFrom.AsArray, dtTo.AsArray);