|
Stanley
Try
col2 = put( col1 , weekdate9. );
Nat Wooding
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Stanley Luo
Sent: Sunday, September 13, 2009 1:33 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: assign weekday in a column
Dear SAS-Lers:
I got a data including date from 2003/01/01 to 2006/12/31.
Are there any approaches to create a column that assign weekday?
Or any sas syntax can work with?
ex:
col A col B
2003/01/01 Wednesday
2003/01/02 Thursday
2003/01/03 Friday
..... ......
Thanks in advance!
CONFIDENTIALITY NOTICE: This electronic message contains
information which may be legally confidential and or privileged and
does not in any case represent a firm ENERGY COMMODITY bid or offer
relating thereto which binds the sender without an additional
express written confirmation to that effect. The information is
intended solely for the individual or entity named above and access
by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying, distribution, or use of the
contents of this information is prohibited and may be unlawful. If
you have received this electronic transmission in error, please
reply immediately to the sender that you have received the message
in error, and delete it. Thank you.
|