I am trying to remove seconds from a clock column in POSIXct format:
#"2016-04-02 10:33:45 COT" "2016-04-02 22:19:24 COT" #"2016-04-09 17:47:13 COT" "2016-04-13 16:56:23 COT" x <- structure(c(1459589625, 1459631964, 1460220433, 1460562983), class = c("POSIXct", "POSIXt"), tzone = "")
I am trying to do this, but I do not see the results:
y <- as.POSIXct(x, format = "%d/%m/%Y %H:%M")
source share