Difference between revisions of "SetUserTimezone"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "Category:Questionnaire_Functions Sets timezone of a specified user. If no user specified, will set user timezone of current QAS (this needs QAS context) '''Syntax ''' s...")
 
Line 2: Line 2:
 
Sets timezone of a specified user.
 
Sets timezone of a specified user.
  
If no user specified, will set user timezone of current QAS (this needs QAS context)
+
If no user specified, will set timezone of current QAS's user (this needs QAS context)
  
 
'''Syntax '''
 
'''Syntax '''

Revision as of 09:27, 4 March 2022

Sets timezone of a specified user.

If no user specified, will set timezone of current QAS's user (this needs QAS context)

Syntax

setUserTimezone(number userRId, number timeZoneId);

or

setUserTimezone(number timeZoneId);// (need QAS context)

Arguments

number userRId

number timeZoneId

Return type

Empty

Example

setUserTimezone(123456, 65);
//or 
setUserTimezone(65);