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: Difference in dates
From
Lisa Davis <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: Difference in dates
Date
Sun, 15 Jul 2012 13:48:49 -0600
I'm comparing two date variables (coded daily) in Stata by subtracting one from a second, which gives a difference in days. When the dates are the same, the result is 0.5 rather than 0. Does anyone have an explanation?
Thanks,
Lisa
*
* 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/