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.
Restriction: This command is only supported for Android devices.
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
Errors
The error "Get timezone is not supported for device" occurs when the command is run against an iOS device. This command is only supported for Android devices.