What will be the output of the following R function? [code]Sys.time()[/code]

Trang Mắm

New member
What will be the output of the following R function?
Code:
Sys.time()
A. Tomorrow date and time
B. Present date and time
C. Some date
D. Yesterday date and time
 
Answer: b
Explanation: Sys.time returns a present date-time value which can be converted to various time zones and may return different days. Sys.time and also Sys.Date returns the system's idea of the current date with and without time.
 

Tìm kiếm

Back
Top