Time and Date Settings
The HP NAS 8000 uses the information on this screen to keep track of the date and time for
operations such as time stamps for file generation and modification. Failure to set the proper
date and time may lead to confusing behavior or misleading time stamping of files and log
messages.
getSystemTimestamp
Returns the system timestamp.
I
inParam[0] = Optional format string
I
outParam[0] = Date & Time according to format
Common formats follow. Default format is "%m/%d/%Y %T".
I
%c - TIME & DATE for locale
I
%x - DATE for locale
I
%X - TIME for locale
I
%r - Time am/pm (exact format may change with locale)
I
%R - %H:%M
I
%T - %H:%M:%S (24 hour)
I
%D - %m/%d/%y - (United States specific format)
setSystemTimestamp
Sets the system timestamp.
I
inParam[0] = Date (mm/dd/yyyy) or "NOW"
I
inParam[1] = Time (24hh:mm:ss) or "NOW"
getSystemDate
Returns the current system date.
I
inParam[0] = Optional format string
I
outParam[0] = Date according to format (default is "%m/%d/%Y")
Common formats follow. Default format is "%m/%d/%Y %T".
I
%c - TIME & DATE for locale
I
%x - DATE for locale
I
%X - TIME for locale
I
%r - Time am/pm (exact format may change with locale)
I
%R - %H:%M
I
%T - %H:%M:%S (24 hour)
I
%D - %m/%d/%y - (United States specific format)
Command Reference
51