Hi Gregory, On Mon, Dec 14, 2020 at 12:34 PM Gregory Coats <gregco...@me.com> wrote: >... > Is there a convenient way to tell R to interpret “2020-12-13” as a date? > Notice the as.Date command in the code I sent to you. this converts a string to a date with a resolution of one day. If you want a higher time resolution, use strptime or one of the other POSIX date conversion functions.
Jim ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.