Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Lisa Davis <lisadavismd@gmail.com> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
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/