Command: timezone

Manage the system's time zone.

Usage

Usage: m timezone [OPTIONS]

Description: Manage the system timezone on macOS

Options:
 --help             Show this help message and exit
 --list             List available timezones
 --set TIMEZONE     Set the system timezone

Examples

Get Current Timezone

Running the command without arguments displays the currently set time zone.

m timezone
# Sample Output: Time Zone: Europe/Berlin

List Available Timezones

Use the --list option to see a complete list of all valid time zones you can set.

m timezone --list

Set a New Timezone

Use the --set option followed by a valid time zone string. This requires sudo privileges.

sudo m timezone --set America/New_York