[R] How to compute time interval?
Jeff Newmiller
jdnewmil at dcn.davis.ca.us
Fri Nov 11 04:45:34 CET 2011
You forgot to provide code to work with. There are multiple ways to deal with time in R, but we don't know how you are doing it.
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
---------------------------------------------------------------------------
Sent from my phone. Please excuse my brevity.
Lao Meng <laomeng.3 at gmail.com> wrote:
>t2-t1 is ok,but only can get"Time difference of 786 days",but I wanna
>get
>the "786" only.How can I do then?
>
>Thanks!
>
>2011/11/11 Lao Meng <laomeng.3 at gmail.com>
>
>> time1 = 2008-03-09
>> time2 = 2010-9-10
>>
>> How to compute how many years between time1 and time2?
>>
>> Thanks!
>>
>> best
>>
>>
>
> [[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.
More information about the R-help
mailing list