R Programming: Create the system's idea of the current date with and without time
R Programming: Basic Exercise-27 with Solution
Write a R program to create the system's idea of the current date with and without time.
Sample Solution :
R Programming Code :
print("System's idea of the current date with and without time:")
print(Sys.Date())
print(Sys.time())
Sample Output:
[1] "System's idea of the current date with and without time:" [1] "2018-11-13" [1] "2018-11-13 12:33:23 UTC"
R Programming Code Editor:
Have another way to solve this solution? Contribute your code (and comments) through Disqus.
Test your Programming skills with w3resource's quiz.
What is the difficulty level of this exercise?
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics