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

st: RE: RE: stringto date

From   "Rajesh Tharyan" <>
To   <>
Subject   st: RE: RE: stringto date
Date   Fri, 30 Nov 2007 13:54:12 -0000

Thank you very much for your help

Is there a good reference on how little things like this have changed
between version 9 and 10? 


-----Original Message-----
[] On Behalf Of Nick Cox
Sent: 30 November 2007 13:44
Subject: st: RE: stringto date


In Stata 10, try "DMY".  

Rajesh Tharyan

The command gen adate=date(date,"dmy"), where date is a string variable
works fine in stata9 

However, it generates missing values in stata10.

The format of the date is 

. describe date

                     storage   display     value
variable name   type    format        label      variable label
date            str10          %10s                   Date

is this because the variable is named date?

*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index