| 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:
ddmmyyyy
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.
kriya@freemail.to (Clemens) wrote in <8bt2g8$ccm$1@porthos.nl.uu.net>:
>Hello Ellen,
>
>Try following statement (with me it works):
>
>chardate=PUT(sasdate,DDMMYY10.);
>
>Clemens van Brunschot
>
>EMRAIN wrote in message <20000329083342.29552.00001486@ng-fg1.aol.com>...
>>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
>
>
|