Date, Date 335 – Promise Technology 2-Year Extended Warranty for VessR2000 RAID Head User Manual

Page 362

Advertising
background image

335

Product Manual

Managing with the CLI

date

Usage

date

date -a mod [-d <date>] [-t <time>] [-z <timezone>]

Summary

The date command allows the user to view and modify the system time.

Options

-a <action>

Which action to perform.

list

(Default) Displays the current system time.

mod

Modifies the current system time.

-d <date>

Used to specifies date in the following format: yyyy/mm/dd where

month’s range is 1-12 and day’s range is 1-31.

-t <time>

Used to specifies time in the following format: hh:mm:ss where

hour’s range is 0-23, minute’s and seconds’ range are 0-59.

-z <timezone> Specify the time zone. The time zone range is GMT-12 ~ GMT12.

Examples

date

date -a mod -d 2004/02/25 -t 14:50:05

date -a mod -z GMT-8

Advertising