Name

Date and Time

Synopsis

Change the date/time?

System PreferencesDate & TimeDate & Time

Specify how the date and time will appear in the menu bar?

System PreferencesDate & TimeClock

Specify the date and time settings for another country while I’m traveling?

System PreferencesInternationalFormatsselect a country from the Region pull-down menu

Have my computer speak the time out for me?

System PreferencesDate & TimeClockselect the checkbox next to “Announce the time”select an increment from the pop-up menu (choices are “On the hour,” “On the half hour,” and “On the quarter hour”)

Use a network time server to set my clock’s time?

System PreferencesDate & TimeDate & Timeselect the checkbox next to “Set Date & Time automatically”select an NTP Server in the scroll list

Tip

You must be connected to the Internet to use a network time server. One helpful hint is to first use the network time server to set an accurate time for your system, then uncheck the “Set Date & Time automatically” box.

Set my time zone?

System PreferencesDate & TimeTime Zone

Display the current date and time from the command line?

Use the date command:

MacChuck:~ chuck$ date
Thu Dec 25 12:34:56 PST 2003
Display the time in military time?

System PreferencesDate & TimeClockselect the checkbox next to “Use a 24-hour clock”

Display the calendar for a specific month and year from the command line?

Use the cal command, followed by the number of the month and the year:

MacChuck:~ chuck$ cal 10 1965 October 1965 S M Tu W Th ...

Get Mac OS X Panther in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.