Bookmark and Share

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

[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?

*   For searches and help try:

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