# Set menubar digital clock format

This setting configures the time and date format for the menubar digital clock. Accepted values depend on your Language & Region settings.
- ss for seconds.
- HH for 24-hour clock.
- EEE for 3-letter day of the week.
- d MMM for day of the month and 3-letter month.

  • Tested on macOS:
    • Big Sur
    • Catalina
  • Parameter type: string

# Set to "EEE d MMM HH:mm:ss"

defaults write com.apple.menuextra.clock DateFormat -string "EEE d MMM HH:mm:ss"
  • Thu 18 Aug 21:46:18

# Set to "EEE h:mm:ss"

defaults write com.apple.menuextra.clock DateFormat -string "EEE h:mm:ss"
  • Thu 9:46:18

# Set to "EEE HH:mm:ss"

defaults write com.apple.menuextra.clock DateFormat -string "EEE HH:mm:ss"
  • Thu 21:46:18

# Read current value

defaults read com.apple.menuextra.clock DateFormat

# Delete current value

defaults delete com.apple.menuextra.clock DateFormat