[R] Serial Date

From: Raoni Rosa Rodrigues <raonirosa_at_yahoo.com.br>
Date: Sun, 13 Mar 2011 19:00:41 -0700 (PDT)


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.

I need to make this transformation in R, and use it to make some algebrian operations. I found that function 'serialNumber' of package 'cxxPack' transform a as.data class object in this format, but without time fraction. But I can't find nothing to do the inverse way, transform serial date format in a POSIX class, for exemple.

Since now, thanks for your time and atention.

All best,

Raoni
Associate Researcher
Fish Passage Center
UFMG, Brazil.

"Fica proibido o uso da palavra liberdade,

a qual será suprimida dos dicionários

e do pântano enganoso das bocas.

A partir deste instante

a liberdade será algo vivo e transparente

como um fogo ou um rio,

e a sua morada será sempre

o coração do homem."

(Thiago de Mello)

      
	[[alternative HTML version deleted]]


______________________________________________

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 14 Mar 2011 - 04:12:40 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 15 Mar 2011 - 14:40:22 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive