Difference between revisions of "SetUserTimezone"
Line 6: | Line 6: | ||
'''Syntax ''' | '''Syntax ''' | ||
− | setUserTimezone(number userRId, number timeZoneId) | + | setUserTimezone(number userRId, number timeZoneId) |
or | or | ||
− | setUserTimezone(number timeZoneId) | + | setUserTimezone(number timeZoneId) ''// (need QAS context)'' |
'''Arguments''' | '''Arguments''' | ||
Line 26: | Line 26: | ||
<source lang="javascript"> | <source lang="javascript"> | ||
− | setUserTimezone(123456, 65) | + | setUserTimezone(123456, 65) |
//or | //or | ||
− | setUserTimezone(65) | + | setUserTimezone(65) |
</source> | </source> |
Revision as of 08:32, 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)