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​

timezone(tz?: string): Promise<string>

Examples​

Move the device to Tokyo time​

const zone = await 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