Difference between revisions of "GetUserTimezone"

From Catglobe Wiki
Jump to: navigation, search
Line 18: Line 18:
 
'''Return type'''
 
'''Return type'''
  
Number (Timezone Id)
+
Number ([[TimezoneId|TimezoneId]])
  
 
'''Example '''
 
'''Example '''

Revision as of 09:04, 4 March 2022

Get timezone for a specified user.

If no user specified then the QAS user's time zone will be returned (this needs QAS context)

Syntax

getUserTimezone(number userRId)

or

getUserTimezone() //(need QAS context)

Arguments

number userRId

Return type

Number (TimezoneId)

Example

getTimezone(123456) 
//or
getTimezone()