Re: [R] bug in difftime with as.POSIXct

2008-01-27 Thread Dan Kelley
Thanks, that article is very helpful. D. Gabor Grothendieck wrote: > > Read relevant article in R News 4/1. > -- View this message in context: http://www.nabble.com/bug-in-difftime-with-as.POSIXct-tp15122749p15125302.html Sent from the R help mailing list archive at Nabble.com. _

Re: [R] bug in difftime with as.POSIXct

2008-01-27 Thread Gabor Grothendieck
Read relevant article in R News 4/1. On Jan 27, 2008 2:20 PM, Dan Kelley <[EMAIL PROTECTED]> wrote: > > Oh, I'm sorry to be posting a reply to my own stupid question, but the > problem is that I had not specified GMT, and so it was using local time, > which changes to 'save daylight". This is dem

Re: [R] bug in difftime with as.POSIXct

2008-01-27 Thread Dan Kelley
Oh, I'm sorry to be posting a reply to my own stupid question, but the problem is that I had not specified GMT, and so it was using local time, which changes to 'save daylight". This is demonstrated below: > unclass(as.POSIXct("1975-04-27",tz="GMT"))[1]-unclass(as.POSIXct("1975-04-28",tz="GMT"))