Skip to main content

Timezone

This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET

Read the device timezone, or change it. These call app_timezone.

Timezone​

public string Timezone()
public string Timezone(string tz)

The device timezone.

Changes the device timezone and returns the new one. Takes an IANA name such as "Asia/Tokyo"; confirmed by reading it back, since an unknown zone is accepted by the device and ignored. Works on real hardware, unlike IncomingCall(string) and Sms(string).

Examples​

Move the device to Tokyo time​

string zone = device.Timezone("Asia/Tokyo");

The same call from the command line, mobium timezone Asia/Tokyo, printed on an Android 15 emulator:

Asia/Tokyo (was America/Los_Angeles)
BeforeAfter
Before: mobium timezone Asia/Tokyo on an Android 15 emulatorAfter: mobium timezone Asia/Tokyo on an Android 15 emulator

mobium timezone Asia/Tokyo on an Android 15 emulator