I can't query xts for subsets including both a date and time range. For example:
> head(myxts['2012-01-06 9:30:00/2012-01-06 10:00:00'], 1)
Symbol
2012-01-03 09:30:00 "AA"
> tail(myxts['2012-01-06 9:30:00/2012-01-06 10:00:00'], 1)
Symbol
2012-01-06 10:00:00 "AA"
Here the first row is 2012-01-03. Why not 2012-01-06?
EDIT
I've also tried to extract a single date first to a new variable, then query by time. In this case the date timeseries are extracted correctly but the time subset will not work.
e = myxts['2012-01-06']
e['10:00:00::10:20:00'] # returns all rows in '2012-01-06'
EDIT 2
Found this situation where entering '09:45:00' rather than '9:45:00' seems to fix the problem:
> tail(myxts['2011-12-19 9:40:00::2011-12-19 9:45:00'])
Symbol DaySec
2011-12-19 16:00:00 "WPI" "57600"
> tail(myxts['2011-12-19 9:40:00::2011-12-19 09:45:00'])
Symbol DaySec
2011-12-19 09:45:00 "WPI" "35100"