Skip to main content
Question

Looking to Configure Date & Time via Terminal. (Show Date)

  • September 26, 2019
  • 1 reply
  • 7 views

walkeri3rd
Forum|alt.badge.img+7

We lock our Date and Time Preferences down for the students and there has been a request to turn on the Show Date option. Anyone have an idea to turn this feature via Jamf or Terminal.

1 reply

cdev
Forum|alt.badge.img+14
  • Contributor
  • September 26, 2019

writing a script to include something like the below command in each user or the user template will show the Date/Time in the menu bar like: Thu Sep 29 4:03pm

  /usr/bin/defaults write "${userHome}"/Library/Preferences/com.apple.menuextra.clock.plist DateFormat -string "EEE MMM d  h:mm a"