[R] convert date/time to numeric

Yu-Ling Wu yuling5 at yahoo.com
Wed Mar 21 19:10:48 CET 2001


Hi,

I convert a numeric value to date/time format and do
some operations on it. How to convert it back to a
numeric value?

Thanks,
Yu-Ling Wu

==================================================
begin <- 200103131030     
EndTime <- strptime(paste(begin), format="%Y%m%d%H%M")
+ 60 
end <- ???? 

(I want end=200103131031 instead of "2001-03-13
10:31:00")
==================================================



__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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