How do I recode of vector of timestamps from a facebook api pull that is a factored looking like the following to a time/date variable?
[[1] 2012-10-19T19:52:43+0000
I tried the following, but I only get NAs:
strptime(as.character(time), "%Y-%b-%dT%H:%M:%S+0000")
Your format is wrong. The
%bshould be%m.