Skip to main content

Setting up timezone on Real Devices

In automated testing with Appium on LambdaTest, configuring the timezone accurately is crucial for precise testing scenarios. LambdaTest provides support for various timezones, allowing users to customize their testing environments to meet specific requirements.

By default, the timezone for Appium testing on LambdaTest is selected based on the device's default settings. However, users have the flexibility to explicitly specify the timezone using the timezone capability in their desired capabilities.

Timezone Configuration


To specify the timezone for automated tests in Appium on LambdaTest, the timezone capability can be utilized. This ensures that tests are executed in the desired timezone, facilitating accurate validation of application behavior across different regions.

CapabilityTypeDescription
timezoneStringSets a specific timezone on the mobile device.

Here's an example of how to set the timezone in your Appium test script:

Java Example:

// Java code example for configuring timezone in Appium tests on LambdaTest

DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("timezone", "Tonga");
capabilities.setCapability("platformName", "android");
// Add other capabilities as needed |

Supported Timezones


Below is the list of supported timezones supported along with their corresponding cities and UTC times:

TimezoneCityUTC Time
TongaTongaUTC+13:00
AucklandAucklandUTC+12:00
PohnpeiPohnpeiUTC+11:00
MelbourneMelbourneUTC+11:00
AdelaideAdelaideUTC+10:30
TokyoTokyoUTC+9:00
KuchingKuchingUTC+8:00
PontianakPontianakUTC+7:00
RangoonRangoonUTC+6:30
DhakaDhakaUTC+6:00
KathmanduKathmanduUTC+5:45
ColomboColomboUTC+5:30
OralOralUTC+5:00
KabulKabulUTC+4:30
DubaiDubaiUTC+4:00
MoscowMoscowUTC+3:00
CairoCairoUTC+2:00
LondonLondonUTC+0:00
UTCUTCUTC+0:00
Cape VerdeCape VerdeUTC-1:00
NuukNuukUTC-3:00
Buenos AiresBuenos AiresUTC-3:00
La PazLa PazUTC-4:00
LimaLimaUTC-5:00
TegucigalpaTegucigalpaUTC-6:00
Los AngelesLos AngelesUTC-8:00
PitcairnPitcairnUTC-8:00
HonoluluHonoluluUTC-10:00
NiueNiueUTC-11:00
BelgiumBrusselsUTC+1:00

Test across 3000+ combinations of browsers, real devices & OS.

Book Demo

Help and Support

Related Articles