Difference between revisions of "GetUserTimezone"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:Questionnaire_Functions]]
 
[[Category:Questionnaire_Functions]]
 
 
Get timezone for a specified user.  
 
Get timezone for a specified user.  
  
If user is not specified then the QAS user's time zone will be returned (this needs RPQ context)
+
If no user specified then the QAS user's time zone will be returned (this needs QAS context)
 
   
 
   
 
'''Syntax '''
 
'''Syntax '''
  
 
getUserTimezone(number userRId);
 
getUserTimezone(number userRId);
 +
 +
or
 +
 +
getUserTimezone();//(need QAS context)
  
 
'''Arguments'''
 
'''Arguments'''
  
number userRId
+
''number'' userRId
  
 
'''Return type'''
 
'''Return type'''

Revision as of 09:31, 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 (Timezone Id)

Example

getTimezone(123456)