Difference between revisions of "SetUserTimezone"

From Catglobe Wiki
Jump to: navigation, search
Line 16: Line 16:
 
''number'' userRId
 
''number'' userRId
  
''number'' [[timeZoneId|TimezoneId]]
+
''number'' [[TimezoneId| TimezoneId]]
  
 
'''Return type'''
 
'''Return type'''

Revision as of 10:02, 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)