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.

SetUserTimezone: Difference between revisions

From Catglobe Wiki
No edit summary
No edit summary
Line 14: Line 14:
'''Arguments'''
'''Arguments'''


number userRId
''number'' userRId


number timeZoneId
''number'' timeZoneId


'''Return type'''
'''Return type'''

Revision as of 07:28, 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);