Difference between revisions of "GetUserTimezone"

From Catglobe Wiki
Jump to: navigation, search
Line 6: Line 6:
 
'''Syntax '''
 
'''Syntax '''
  
getUserTimezone(number userRId);
+
getUserTimezone(number userRId)
  
 
or
 
or
  
getUserTimezone();//(need QAS context)
+
getUserTimezone()//(need QAS context)
  
 
'''Arguments'''
 
'''Arguments'''
Line 25: Line 25:
  
 
getTimezone(123456)  
 
getTimezone(123456)  
 +
//or
 +
getTimezone()
  
 
</source>
 
</source>

Revision as of 09:32, 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) 
//or
getTimezone()