Re: [R] Serial Date

2012-01-20 Thread R. Michael Weylandt
If you are going to resurrect old threads, it's kind to at least read them. Use the chron package as suggested by Gabor. Michael On Fri, Jan 20, 2012 at 7:54 AM, uday wrote: > Hi, > How I should convert Fractional days in Year Month Days Hour Minute and Day > format ? > > > > > -- > View this me

Re: [R] Serial Date

2012-01-20 Thread uday
Hi, How I should convert Fractional days in Year Month Days Hour Minute and Day format ? -- View this message in context: http://r.789695.n4.nabble.com/Serial-Date-tp3353123p4313144.html Sent from the R help mailing list archive at Nabble.com. __ R

Re: [R] Serial Date

2011-03-16 Thread Gabor Grothendieck
On Tue, Mar 15, 2011 at 11:42 PM, Raoni Rosa Rodrigues wrote: > Hello Mr. Grothendieck, > > thanks for your reply! > > Text book that I use (Spector, 2008) dind't comment about this feature of > chron function... > > I just don't understand why we have 10957 days of difference between dates > (l

Re: [R] Serial Date

2011-03-15 Thread Raoni Rosa Rodrigues
the 25568 days expected due the difference in origin: 1/1/1900 of excel against 1/1/1970 of chron package. Best, Raoni --- Em ter, 15/3/11, Gabor Grothendieck escreveu: > De: Gabor Grothendieck > Assunto: Re: [R] Serial Date > Para: "Raoni Rosa Rodrigues" > Cc: &quo

Re: [R] Serial Date

2011-03-15 Thread Gabor Grothendieck
On Tue, Mar 15, 2011 at 10:24 AM, Gabor Grothendieck wrote: > On Sun, Mar 13, 2011 at 10:00 PM, Raoni Rosa Rodrigues > wrote: >> Hello R Help, >> >> I'm working in a project with a software that register date and time data in >> serial time format. This format is used by excel, for exemple. In t

Re: [R] Serial Date

2011-03-15 Thread Gabor Grothendieck
On Sun, Mar 13, 2011 at 10:00 PM, Raoni Rosa Rodrigues wrote: > Hello R Help, > > I'm working in a project with a software that register date and time data in > serial time format. This format is used by excel, for exemple. In this > format, 40597.3911423958 is 2011/2/23 09:23:15. First part is

Re: [R] Serial Date

2011-03-15 Thread David Winsemius
file. When I used a corrected code Data = function (x){ c (ISOdatetime (1900, 1, 1, 0, 2, 20) + ((x-2)*60*60*24)) } worked pretty well. Thanks again! All best, Raoni --- Em seg, 14/3/11, David Winsemius escreveu: De: David Winsemius Assunto: Re: [R] Serial Date Para: "

Re: [R] Serial Date

2011-03-15 Thread Allan Engelhardt
On 14/03/11 16:00, David Winsemius wrote: On Mar 14, 2011, at 6:36 AM, Allan Engelhardt wrote: On 14/03/11 02:00, Raoni Rosa Rodrigues wrote: [...] I'm working in a project with a software that register date and time data in serial time format. This format is used by excel, for exemple. In

Re: [R] Serial Date

2011-03-14 Thread Raoni Rosa Rodrigues
Assunto: Re: [R] Serial Date Para: "Allan Engelhardt" Cc: "Raoni Rosa Rodrigues" , "R Help" Data: Segunda-feira, 14 de Março de 2011, 13:00 On Mar 14, 2011, at 6:36 AM, Allan Engelhardt wrote: > > > On 14/03/11 02:00, Raoni Rosa Rodrigues wrote: &

Re: [R] Serial Date

2011-03-14 Thread David Winsemius
On Mar 14, 2011, at 6:36 AM, Allan Engelhardt wrote: On 14/03/11 02:00, Raoni Rosa Rodrigues wrote: Hello R Help, I'm working in a project with a software that register date and time data in serial time format. This format is used by excel, for exemple. In this format, 40597.3911423958

Re: [R] Serial Date

2011-03-14 Thread Allan Engelhardt
On 14/03/11 02:00, Raoni Rosa Rodrigues wrote: > Hello R Help, > > I'm working in a project with a software that register date and time data in > serial time format. This format is used by excel, for exemple. In this > format, 40597.3911423958 is 2011/2/23 09:23:15. Not on my system, but this

[R] Serial Date

2011-03-13 Thread Raoni Rosa Rodrigues
Hello R Help, I'm working in a project with a software that register date and time data in serial time format. This format is used by excel, for exemple. In this format, 40597.3911423958 is 2011/2/23 09:23:15. First part is number os days since 1900/1/1, and second part is a fraction of a day.