
Command Reference
60
HP StorageWorks NAS 8000 Command Reference
■
%r - Time am/pm (exact format may change with locale)
■
%R - %H:%M
■
%T - %H:%M:%S (24 hour)
■
%D - %m/%d/%y - (United States specific format)
setSystemTimestamp
Sets the system timestamp.
■
inParam[0] = Date (mm/dd/yyyy) or “NOW”
■
inParam[1] = Time (24hh:mm:ss) or “NOW”
getSystemDate
Returns the current system date.
■
inParam[0] = Optional format string
■
outParam[0] = Date according to format (default is “%m/%d/%Y”)
Common formats follow. Default format is “%m/%d/%Y %T”.
■
%c - TIME & DATE for locale
■
%x - DATE for locale
■
%X - TIME for locale
■
%r - Time am/pm (exact format may change with locale)
■
%R - %H:%M
■
%T - %H:%M:%S (24 hour)
■
%D - %m/%d/%y - (United States specific format)
setSystemDate
Sets the system date.
■
inParam[0] = Date [MM/DD/YYYY] or “NOW”
getSystemTime
Displays the current system time.
■
inParam[0] = optional format string
■
outParam[0] = Time according to format (default is “%T”)
Common formats follow. Default format is “%m/%d/%Y %T”.
■
%c - TIME & DATE for locale
■
%x - DATE for locale
■
%X - TIME for locale
■
%r - Time am/pm (exact format may change with locale)
■
%R - %H:%M
■
%T - %H:%M:%S (24 hour)
■
%D - %m/%d/%y - (United States specific format)
setSystemTime
Sets the current system time.