LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (March 2008, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


Back to: Top of message | Previous page | Main SAS-L page