Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Converting elapsed dates into years in study


From   Kieran McCaul <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: Converting elapsed dates into years in study
Date   Mon, 17 May 2004 14:08:11 +0800

years = (var1 - var2)/365.25


-----Original Message-----
From: Lisa Sharwood [mailto:[email protected]]
Sent: Monday, 17 May 2004 1:59 PM
To: [email protected]
Subject: st: Converting elapsed dates into years in study


Hello all
I am wondering if I can get some assistance on how to convert the 
calculation from two elapsed dates
ie generate time in study = var1-var2

into a meaningful number relative to years in study?

Thanks a lot
Lisa
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index