Setting time zone on Macs based on current location

expand collapsive

Please provide mac script to set time zone automatically based on the current device location. Script to set time zone published in the script repository doesn’t enable ‘set time automatically using current location’ checkbox in the date & time settings.

All Replies

  • Participant



    This script works on my M1 Mac running Big Sur 11.2.3 :


  • Hexnode

    Chris Wheeler


    Hey there, @fleur. On testing the script on a few Macs running different OS versions, we can confirm that the script requires a device reboot only for the older OS versions like Mojave.

    @esmee We’ll be sure to add this in our sample script repository.

    Thank you 🙂

    Have a great day!
    Chris Wheeler
    Hexnode UEM