Convert UTC Time in R -
i have data column utc time, format 'tue apr 03 18:00:09 +0000 2012' in r. may know can convert date? need plot frequency date , i'm not sure how it.
please advise! appreciated :)
thank much! :)
x <- 'tue apr 03 18:00:09 +0000 2012' as.posixct(x, format = "%a %b %d %t %z %y")
%a
abbreviated weekday name, %b
abbreviated month name, %d
month day number(01-31), %t
24 hour time stamp, %z
signed utc offset, , %y
full year.
ultimately, need group dataframe date , count occurrence, perhaps should use as.date
instead of as.posixct
.
Comments
Post a Comment