Get time zone command

Retrieves the time zone configured on the device. The return value is a string that complies with the tz database format.

Important: When running the Get time zone command on an iOS device connected with the fast video template, it may return an incorrect date and time. If this is the case, contact your Lab admin user to request that the device be connected using the XCT template, or contact Perfecto Support to request the same.

Parameters

Name Type Possible values Description

Device ID*

Device

 

The device for this command. By default, this is the device under test (DUT).

Result variable

String

 

The variable to receive the selected device location.

Comment

String

 

Adds a comment to the script.

On-fail Result*

Condition

Ignore | Break | Continue | Abort | Catch

The behavior when the command fails.

* Mandatory parameter