RosettaCodeData/Task/Date-format/R/date-format.r

4 lines
75 B
R
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
now <- Sys.time()
strftime(now, "%Y-%m-%d")
strftime(now, "%A, %B %d, %Y")