administrationService.getServerTime(serverUrl, userName, password = NA, out.format = getOption("time.out.format"), time.zone = getOption("time.zone"))
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
.
getOption("time.zone")
.
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.
timeDate
object containing the current server time.
## 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)