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 (September 2009, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Sun, 13 Sep 2009 13:38:07 -0400
Reply-To:   Nathaniel Wooding <nathaniel.wooding@DOM.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Nathaniel Wooding <nathaniel.wooding@DOM.COM>
Subject:   Re: assign weekday in a column
Comments:   To: Stanley Luo <shanminglo@GMAIL.COM>
In-Reply-To:   <200909131733.n8DAmbR2009455@malibu.cc.uga.edu>
Content-Type:   text/plain; charset="us-ascii"

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.


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