|
|
Line 1: |
Line 1: |
| [[Category:User_Functions]]
| |
| 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| TimezoneId]]
| |
|
| |
| '''Return type'''
| |
|
| |
| Empty
| |
|
| |
| '''Example '''
| |
|
| |
| <source lang="javascript">
| |
|
| |
| setUserTimezone(123456, 65)
| |
| //or
| |
| setUserTimezone(65)
| |
|
| |
| </source>
| |