Difference between revisions of "GetUserTimezone"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
[[Category:Questionnaire_Functions]]
+
[[Category:User_Functions]]
 
Get timezone for a specified user.  
 
Get timezone for a specified user.  
  

Revision as of 08:48, 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()