|  Developer
Updated on November 10, 2021

hub.time.location.set

  • Version: 1.0
  • Classes: UI
  • Description: Set current timezone for the hub. This value affects to the whole calculation which are related to the time/date. Also it does not change the system time. It’s just wrapp it and does the own processing. Atom32 hub needs an additional parameter “tz_environment_variable” instead of using standart tz data base. See description here: https://users.pja.edu.pl/~jms/qnx/help/watcom/clibref/global_data.html#TheTZEnvironmentVariable.
Edit
Field Type Required Description
location string + timeZoneId
timeEnvironmentVariable string tzEnvVariable
Note: the second parameter is required for atom32 only!
Edit
  • Result will contain current location description. See the table previous tab
Edit

Here is it an example of usage.

Edit
				
					{
    "id": "_ID_",
    "jsonrpc": "2.0",
    "method": "hub.time.location.set",
    "params": {
          "location" : "Europe/Kiev",
          "timeEnvironmentVariable": "EET-2EEST,M3.5.0/3,M10.5.0/4"  // > for atom32 only!
     }
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
          "location" : "Europe/Kiev"
    }
}