问题
I have an data object with
index(x)
[6217] "2014-09-03 GMT" "2014-09-04 GMT" "2014-09-05 GMT" "2014-09-08 GMT" "2014-09-09 GMT" "2014-09-10 GMT" "2014-09-11 GMT"
[6224] "2014-09-12 GMT"
What can I do to change the objects time zone to "CDT"? Is there a function to do this?
回答1:
With indexTZ<-
indexTZ(x) <- "America/Chicago"
来源:https://stackoverflow.com/questions/25944277/changing-time-zone-of-xts-object