Convert date string that contains time zone to POSIXct in R
问题 I have a vector with dates in this format (example of the first 6 rows): Dates<-c( "Sun Oct 04 20:33:05 EEST 2015", "Sun Oct 04 20:49:23 EEST 2015", "Sun Oct 04 21:05:25 EEST 2015", "Mon Sep 28 10:02:38 IDT 2015", "Mon Sep 28 10:17:50 IDT 2015", "Mon Sep 28 10:39:48 IDT 2015") I tried to read this variable Dates to R using as.Date() function: as.Date(Dates,format = "%a %b %d %H:%M:%S %Z %Y") but the process failed as %Z parameter is not supported in the input. The time zones differ throughout