Retrieve the Server Time

DESCRIPTION:

Returns the current time, according to the server.

USAGE:

administrationService.getServerTime(serverUrl, userName, password = NA, 
        out.format = getOption("time.out.format"), time.zone = getOption("time.zone"))

ARGUMENTS:

serverUrl
A character string identifying the server's address (for example: "http://myserver:8080").
userName
A character string containing the identifier (the login name) of user (for example: "johndoe").
password
A character string used to log into the Spotfire S+ server (for example: "myPassword").
out.format
The desired format of the output time. If not specified, defaults to getOption("time.out.format"), for which the default value is "%02m/%02d/%04Y %02H:%02M:%02S.%03N". (To use the European day/month/year format, set this to %02d/%02m/%04Y %02H:%02M:%02S.%03N.) The elements of this format string are described in the S+ documentation for the timeDate class.
time.zone
A character string indicating the desired time zone for output. If not specified, the default is getOption("time.zone").

DETAILS:

The password is not encrypted when it is sent from the client to the server. You can omit the password parameter if server does not require one.

VALUE:

A timeDate object containing the current server time.

SEE ALSO:

EXAMPLES:

## Not run: 
## userName <- "johndoe"
## password <- "mypassword"
## serverUrl <- "http://myserver:8080"
## webdavRoot = paste(serverUrl, "/SPServer/webdav", sep = "")
## resultsFolder <- paste(webdavRoot, "/results", sep = "")
##
##administrationService.getServerTime(serverUrl, userName, password)
## End(Not run)