I thought I had solved this problem. But I am still having trouble
converting times. I am looking for a way to print out the string versions
of times in different time zones. Same time, different zones.
I have times stored as seconds since epoch and as text strings in local
time.
For instance
On Fri, Mar 30, 2012 at 2:53 PM, Joshua Ulrich wrote:
> On Thu, Mar 29, 2012 at 3:56 PM, Worik R wrote:
>
>
> I removed the (not so minimal) reproducible example because you can
> get the same behavior via:
> > (s <- Sys.time())
> [1] "2012-03-29 20:43:35 CDT"
> > as.POSIXct(as.numeric(s),origin
On Thu, Mar 29, 2012 at 3:56 PM, Worik R wrote:
> I have a reproducible example of my problem below
>
> On Mon, Mar 26, 2012 at 9:22 AM, Joshua Ulrich
> wrote:
>>
>> > Given two identical string representations of POSIXct objects, can the
>> > two
>> > objects represent different times?
>> >
>> Y
I have a reproducible example of my problem below
On Mon, Mar 26, 2012 at 9:22 AM, Joshua Ulrich wrote:
> > Given two identical string representations of POSIXct objects, can the
> two
> > objects represent different times?
> >
> Yes. Here's an example (from my Ubuntu machine) of one way:
>
> >
On Sun, Mar 25, 2012 at 3:01 PM, Worik R wrote:
> My bad. I should be clearer about the source of my confusion.
>
> Given two identical string representations of POSIXct objects, can the two
> objects represent different times?
>
Yes. Here's an example (from my Ubuntu machine) of one way:
> (t1
My bad. I should be clearer about the source of my confusion.
Given two identical string representations of POSIXct objects, can the two
objects represent different times?
> > Where has it gone?
> >
> It's hard to say, especially since you give no indication how you
> assigned the value to Time
On Sun, Mar 25, 2012 at 3:15 AM, Worik R wrote:
> Friends
>
> I have an xts that I wish to access.
>
> Browse[2]> DATA.ba[[p]]["2012-03-20 00:59:57","bid"]
> bid
> 2012-03-20 00:59:57 1.4993
>
> So far so good.
>
> Now putting the index into a variable:
>
> Browse[2]> Time
>
I see "NZDT" going in and out of your time values. Could that have something to
do with it?
On Mar 25, 2012, at 10:15 , Worik R wrote:
> Friends
>
> I have an xts that I wish to access.
>
> Browse[2]> DATA.ba[[p]]["2012-03-20 00:59:57","bid"]
> bid
> 2012-03-20 00:59:57 1
Friends
I have an xts that I wish to access.
Browse[2]> DATA.ba[[p]]["2012-03-20 00:59:57","bid"]
bid
2012-03-20 00:59:57 1.4993
So far so good.
Now putting the index into a variable:
Browse[2]> Time
[1] "2012-03-20 00:59:57 NZDT"
Browse[2]> DATA.ba[[p]][Time, "bid"]
9 matches
Mail list logo