Hi there,

I have an xts/zoo object called tempBs, which has nicely assigned the
timestamps to each row (see below). How can I convert the row-label to
seconds or milliseconds since the epoch beginning (or any other integer or
double number)?


Browse[1]> class(tempBs)
[1] "xts" "zoo"

Browse[1]> head(tempBs)
                               ..1   ..2      ..3    pnlSlice
2011-06-03 13:32:24 242 99125   1      -75
2011-06-03 13:32:55 242 99100  -1      -25
2011-06-03 13:36:10 242 98850  -1      -50
2011-06-03 13:36:59 242 98775   2       25
2011-06-03 13:38:21 242 98550  -2     -200
2011-06-03 13:40:01 242 98825   1     -450
Browse[1]>


Thanks,
Ulrich


-- 
Ulrich Staudinger
http://www.activequant.org

	[[alternative HTML version deleted]]

