Learn R Programming

timeDate (version 4041.110)

Sys.timeDate: System time as 'timeDate' object

Description

Returns the system time as an object of class "timeDate".

Usage

Sys.timeDate(FinCenter = "")

Value

a "timeDate" object

Arguments

FinCenter

a character string with the location of the financial center named as "continent/city".

Examples

Run this code
if (FALSE) {
## direct
Sys.timeDate()

## Local Time in Zurich
Sys.timeDate(FinCenter = "Zurich")  

## transformed from "POSIX(c)t" with timeDate()
timeDate(Sys.time()) 
 
## Local Time in Zurich
timeDate(Sys.time(), FinCenter = "Zurich")  
}   

Run the code above in your browser using DataLab