cluster date show

Display the current date and time for the nodes in the cluster

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The cluster date show command displays the time zone, date, and time settings for one or more nodes in the cluster. By default, the command displays date and time settings for all nodes in the cluster.

Parameters

{ [-fields <fieldname>, ...]
If you specify the -fields <fieldname>, ... parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.
| [-utc ]
Displays date and time information in Coordinated Universal Time (UTC).
| [-utcdate ]
Displays date and time information in UTC.
| [-instance ]}
If you specify the -instance parameter, the command displays detailed information about all fields.
[-node {<nodename>|local}] - Node
Selects the nodes that match this parameter value.
[-timezone <Area/Location Timezone>] - Time Zone
Selects the nodes that match this parameter value (specified in the Olson format).
[-date {MM/DD/YYYY HH:MM:SS [{+|-}hh:mm]}] - Date and Time
Selects the nodes that match this parameter value.
[-utc-date <MM/DD/YYYY HH:MM:SS>] - UTC Date and Time
Selects the nodes that match this parameter value.
[-dateandtime <[[[[[cc]yy]mm]dd]hhmm[.ss]]>] - Date and Time
Selects the nodes that match this parameter value (interpreted as follows):
  • cc First 2 digits of the year (e.g., 20 for 2011).
  • yy Last 2 digits of year (e.g., 11 for 2011).
  • mm Numeric month, a number from 01 to 12.
  • dd Day, a number from 01 to 31.
  • hh Hour, a number from 00 to 23.
  • mm Minute, a number from 00 to 59.
  • ss Second, a number from 00 to 59.
[-utcdateandtime | -u <[[[[[cc]yy]mm]dd]hhmm[.ss]]>] - UTC Date and Time
-u is used as an alias for -utcdateandtime. Selects the nodes that match this parameter value (interpreted as follows):
  • cc First 2 digits of the year (e.g., 20 for 2011).
  • yy Last 2 digits of year (e.g., 11 for 2011).
  • mm Numeric month, a number from 01 to 12.
  • dd Day, a number from 01 to 31.
  • hh Hour, a number from 00 to 23.
  • mm Minute, a number from 00 to 59.
  • ss Second, a number from 00 to 59.

Examples

The following example displays the date and time settings for all nodes in the cluster:
cluster1::> cluster date show
Node      Date                Timezone
--------- ------------------- -----------------
node0     10/06/2011 09:35:15 America/New_York
node1     10/06/2011 09:35:15 America/New_York
node2     10/06/2011 09:35:15 America/New_York
node3     10/06/2011 09:35:15 America/New_York
4 entries were displayed.