Considering these two time vectors:
a<-seq(as.POSIXct(\"2010-01-01 05:00:00\"), as.POSIXct(\"2010-01-02 23:55:00\"), by = \'5 min\') b<-seq(as.POSIXct(
This uses only operations that preserve "POSIXct" class:
"POSIXct"
c(a[!a %in% b], b[!b %in% a])