LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 2000, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 29 Mar 2000 19:15:49 GMT
Reply-To:   David Wright <David_wright@SPRA.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   David Wright <David_wright@SPRA.COM>
Organization:   Your Company
Subject:   Re: Making a SAS date a character string

I need to know how to put a date value in the form:


No "/"'s attached! Don't ask why, I didn't.

I would like to do it without creating lots of new character variables and input statements or substr commands. Lots of different date fields to deal with. (Clemens) wrote in <8bt2g8$ccm$>:

>Hello Ellen, > >Try following statement (with me it works): > >chardate=PUT(sasdate,DDMMYY10.); > >Clemens van Brunschot > >EMRAIN wrote in message <>... >>Hi all, >> >>I need to know how to make a SAS date (xx/xx/xxxx) into a character string >>while retaining the xx/xx/xxxx form. I have used the put function to >convert, >>but I get back the sas numeric for that date in a character format. >Help!!! >> >>Ellen > >

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