Chapter 3 System Controller Alphabetical Command Reference 67
Examples
When you type the setdate command from the platform, this sets the date and
time for the platform. When you type the setdate command from the domain, this
sets the date and time for the domain.
To set the date and time on the platform to Thursday, April 20, 2001, at 18 hours 15
minutes and 10 seconds, type:
To set the date from a date host:
To set the time zone to Pacific Standard Time (PST), using the offset from Greenwich
mean time—GMT, and the date and time on the platform to Thursday, April 20,
2001, at 18 hours 15 minutes and 10 seconds (
TABLE 3-7), type:
To set the time zone to Eastern Standard Time (EST), using the time zone
abbreviations, and the date and time on the platform to Thursday, April 20, 2001, at
18 hours 15 minutes and 10 seconds (
TABLE 3-7), type:
CODE EXAMPLE 3-36 setdate Command Example in the Platform Shell
schostname:SC> setdate 042018152001.10
Thu Apr 20 18:15:10 PST 2001
CODE EXAMPLE 3-37 setdate -r Command Example Setting the Date From a Date Host
schostname:SC> setdate -r datehost
Thu Apr 20 18:15:10 PST 2001
CODE EXAMPLE 3-38 setdate -t Command Example Setting the Time Zone to Pacific
Standard Time Using the Offset From Greenwich Mean Time
schostname:SC> setdate -t GMT-8 042018152001.10
Thu Apr 20 18:15:10 PST 2001
CODE EXAMPLE 3-39 setdate -t Command Example Setting the Date and Time Zone to
Eastern Standard Time Using Time Zone Abbreviations
schostname:SC> setdate -t EST 042018152001.10
Thu Apr 20 18:15:10 EST 2001