Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: date(s1,s2) leads to no values


From   "Fabian Brenner" <Fabian.Brenner@gmx.de>
To   statalist@hsphsun2.harvard.edu
Subject   st: date(s1,s2) leads to no values
Date   Wed, 24 Sep 2008 21:31:29 +0200

Dear all:

variable "date" is str8   %9s (one example:19861230). I would like to use gen begin=date(date,"YMD") to get elapsed dates but stata does not put any values in variable "begin" (only missings).

Hope someone can help me. I use stata 8.
Fabian
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index