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

walkeri3rd
New Contributor III

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 1

cdev
Contributor III

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"