getTime {KrakenR} | R Documentation |
This function fetches the current server time from the Kraken API in either UNIX timestamp or RFC 1123 format.
getTime(format = "unix")
format |
A character string specifying the time format to return. Use "unix" for UNIX timestamp or "rfc" for RFC 1123 format. The default is "unix". |
A POSIXct object if format = "unix"
or
a character string in RFC 1123 format if format = "rfc"
.
getTime("unix")
getTime("rfc")