Hi,
I am learning and want to print current date and time on console. How to print current time in R Programming?
Thanks
Hi,
You should use Sys.time()
for getting current date and time.
Following is the example usage of above function to get current date and time in R Programming language:
> format(Sys.time(), "%c") [1] "Tue Jun 27 00:01:31 2017"
Thanks