|  Developer
Updated on June 16, 2022

nma.timezones.info.get

  • Title: time sync with NMA for the Atom32 hub
  • Description: The atom32 hub uses “timeEnvironmentVariable” instead if using standard TZ data base. See the description of the timezone variable here: https://users.pja.edu.pl/~jms/qnx/help/watcom/clibref/global_data.html#TheTZEnvironmentVariable The atom32 hub will check if the timezone variable expires when the time sync from nma happens. Atom asks for new data from nma for that specific timezone. Atom uses “nma.timezones.get” method to retrieve timezone JSON.
Edit
Field Type Required Description
timezone string + timeZoneId
Edit
  • result will contain full timezone information as on hub.time.location.set command. See the table below:
Field Type Required Description
timezone string + timeZoneId
timeEnvironmentVariable string + tzEnvVariable
expireTime numeric + timestamp in seconds
Edit
Edit
				
					{
    "id": "_ID_",
    "method":"nma.timezones.info.get",
    "params": {
       "timezone" : "Europe/Kiev"
     }
}				
			
Edit
				
					{
    "id": "_ID_",
    "method":"nma.timezones.info.get",
    "error":null,
    "result":{
        "timezone":"America/New_York",
        "expireTme":1572148800000,
        "timeEnvironmentVariable":"EST5EDT,M3.2.0,M11.1.0"
    }
}