Date: Mon, 17 Mar 2008 15:51:11 -0400
Reply-To: SAS_learner <proccontents@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: SAS_learner <proccontents@GMAIL.COM>
Subject: How to Fill in Missing dates ??
Content-Type: text/plain; charset=ISO-8859-1
Hello _all_ ,
In a CM dataset I have a variable cmstdtc in Format yyyy-mm-ddTHH:MM:SS.
There are dates that have missing Month and day and time part, so I need to
fill 01 for month and 01 for day and T00:00 for time part,
I am using Length statement Length(CMSTDTC) = 4 Etc. to do this but is
there better way then do thing some thing like this .
thanks all for your help and time
thanks
Kumar
|