[R] a R question
Joerg Maeder
maeder at atmos.umnw.ethz.ch
Wed Mar 20 14:27:55 CET 2002
Hello Jesús,
The numeric value is the differnece since 1970 1.Jan at one a clock in
th morning
you can see that with
Sys.time()-as.numeric(Sys.time())
This information ypu can use to transform your numeric value
strptime("1970-01-01 01:00:00 MET",format='%Y-%m-%d %H:%M:%S
%Z')+995752800
gruess
jeorg
Jesús Fernández Gálvez wrote:
>
> Dear Sir,
>
> I have been working with R for some time now and I am very happy with
> it, but I have found a problem that I could not resolve. Could you
> please give me some hint about how to transform POSIX time data in
> seconds to string format?. (eg. 995752800 -> year-month,day,hour,min,
> sec) I tryed with Sys.time(), strptime() and date() but without success.
>
> Thank you very much in advance
>
> Jesus Fernandez
> Estacion Experimental del Zaidin
> Granada, Spain
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
--
Joerg Maeder .:|:||:..:.||.:: maeder at atmos.umnw.ethz.ch
Tel: +41 1 633 36 25 .:|:||:..:.||.::
http://www.iac.ethz.ch/staff/maeder
PhD student at INSTITUTE FOR ATMOSPHERIC AND CLIMATE SCIENCE (IACETH)
ETH ZÜRICH Switzerland
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list