Hi folks, I've got a POSIXct datum as follows:
> Sys.time() [1] "2010-07-23 11:29:59 BST" I want to convert this to the nearest half-hour, i.e., to "2010-07-23 11:30:00 BST" (If the time were "11:59:ss", I want to convert to "12:00:00"). How to achieve this? Thanks, Murali ______________________________________________ R-help@r-project.org mailing list 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.