Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Time between 2 dates


From   Laurie Molina <[email protected]>
To   [email protected]
Subject   st: Time between 2 dates
Date   Wed, 26 Jan 2011 11:06:41 -0600

Hi all, i would like to calculate the time between 2 dates in a data set.

I have start date like: 2010/08/02 meaning august 2nd 2010
and end date like: 2011/02/08 meaming february 2nd 2011.

I would like to know how many days are between the start date and the end date.

I have 2 million observations like this.

Thank you very much in advance and best regards!!

LM
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index