beautypg.com

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

Page 362

background image

335

Product Manual

Managing with the CLI

date

Usage

date

date -a mod [-d ] [-t

Summary

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

Options

-a

Which action to perform.

list

(Default) Displays the current system time.

mod

Modifies the current system time.

-d

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

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 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