0

My environment is 10.13.4 (High Sierra).

I turn on Set date and time automatically and want to acquire the timezone.

I am aware of systemsetup -gettimezone which only can run with sudo, however, it returns the timezone set by TZ=foo/hoge in my rcscript.

I want to acquire the computer's current, automatically-set time zone via the command line.

1
  • So you're trying to acquire the computer's current, automatically-set time zone via the command line? The question is worded a little odd.
    – l008com
    Apr 25 '18 at 3:12
1

Launch System Preferences. Select "Date & Time", then open the "Time Zone" panel. (If necessary, authenticate as Administrator to unlock.) Click in the checkbox to turn on "Set time zone automatically using current location"

1
  • Thanks, I rephrase my question. How can I get an automatically set location via terminal?? Apr 25 '18 at 8:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .