I have a set of data like this:
"2004-11-17 23:07:28 UTC" "2002-09-01 00:29:52 UTC" "2002-08-31 18:44:09 UTC" "2002-08-23 20:43:51 UTC"
Now i want the day of that date. I made:
Weekday <- c("mon", "tue", "Wed", "thu", "fri", "Sat","Sun")[as.POSIXlt(junit20$tstamp,tz="Etc/UTC")$wday]
But I dont get all days. Sunday is not in the dates at all eventhought it should be.
[1] "Wed" "Sat" "fri"
What went wrong?