|
If it is a character field you should be able to read this with:
date9var = input(date9txt,date9.) ;
The first 9 digits are sufficient for the date9 informat to convert the
string to a SAS date.
Venky Chakravarthy.
On Mon, 26 Sep 2005 11:40:11 -0700, Geode Steele <gshq0305@YAHOO.COM> wrote:
>Hi, All,
>
>I have a SAS file with one of the field is a character variable: Date:
>
>Date
>
>20SEP2000:00:00:00.000
>03MAR2003:00:00:00.000
>
>I want to convert it to SAS date. How to do it.
>
>Thank you very much for your help!
>
>George
>
>
>---------------------------------
>Yahoo! for Good
> Click here to donate to the Hurricane Katrina relief effort.
|