;> dates.mine2<-dates.mine+1
>> dates.mine2[3]
>> #[1] "2009-05-22 00:00:01 GMT"
>> dates.mine3<-dates.mine2-1
>> dates.mine3[3]
>> #[1] "2009-05-22 GMT"
>> A.K.
>>
>>
>>
>>
>>
>>
>>
t;
>
>
>
> - Original Message -----
> From: chuck.01 <
> CharlieTheBrown77@
> >
> To:
> r-help@
> Cc:
> Sent: Tuesday, October 30, 2012 5:21 PM
> Subject: Re: [R] POSIXct date missing "time component"
>
> Um, OK.
> My d
;2009-05-22 00:00:01 GMT"
dates.mine3<-dates.mine2-1
dates.mine3[3]
#[1] "2009-05-22 GMT"
A.K.
- Original Message -
From: chuck.01
To: r-help@r-project.org
Cc:
Sent: Tuesday, October 30, 2012 5:21 PM
Subject: Re: [R] POSIXct date missing "time component"
Um, OK.
I suppose I should add that this happens at midnight
Some more of the data:
dates.mine <- dput(free.dates[59:62])
structure(c(1242948600, 1242949500, 1242950400, 1242951300), class =
c("POSIXct",
"POSIXt"), tzone = "GMT")
dates.mine
[1] "2009-05-21 23:30:00 GMT" "2009-05-21 23:45:00 GMT"
[3] "
Um, OK.
My dates have times, they are 00:00:00 (i.e. midnight)
I'll just add a fraction of a second my dates and go with it.
Thanks for the reply.
arun kirshna wrote
> HI,
> Please check this link
> (http://rss.acs.unt.edu/Rdoc/library/base/html/as.POSIXlt.html).
> "Dates without times are
Hi,
I have some dates that are giving me a problem, in general the dates look
like this:
free.dates[60:61]
[1] "2009-05-21 23:45:00 GMT" "2009-05-22 00:00:00 GMT"
but for some reason, when taken "alone", they look like this:
free.dates[60]
[1] "2009-05-21 23:45:00 GMT"
free.dates[61]
[1] "2009
6 matches
Mail list logo