Dragutin,
Read -help insheet- and -help dates_and_times-.
. insheet using dates.txt
. gen date = date(v1, "DMY")
. format date %td
Friedrich
On Sun, Jan 25, 2009 at 7:09 AM, Dragutin Culinovic
<[email protected]> wrote:
> First. I have to import ASCII data with dd.mm.yyyy. date format into stata
> date variable?
>
> Second. I have yet imported data as ASCII dd.mm.yyyy. in stata, how to
> generate new date variable from these ASCII?
>
> dd and mm are withouth leading zero.
*
* 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/