> as.POSIXct(x, tz=Sys.timezone(), format="%Y-%m-%d_%H:%M:%OS") [1] "2007-02-01 10:10:30 EST"
> On Nov 26, 2024, at 19:53, Sorkin, John <jsor...@som.umaryland.edu> wrote: > > x <- "2007-02-01_10:10:30" > x <- as.POSIXct(x,tz=Sys.timezone()) ______________________________________________ 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 https://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.