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 (June 2008, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 27 Jun 2008 11:39:03 -0700
Reply-To:     Don <dmorgan@ROCKETMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Don <dmorgan@ROCKETMAIL.COM>
Organization: http://groups.google.com
Subject:      Re: how to generate a dataset contains all week day for year 2007?
Comments: To: sas-l@uga.edu
Content-Type: text/plain; charset=ISO-8859-1

data t ; do i=17167 to 17531 ; if weekday(i) >1 and weekday(i) <7 then output ; end ; format i mmddyy10. ;

Don - AB3BO

Yah know its Friday when I had to remove the semicolon from my Sig before clicking Send!

On Jun 27, 1:49 pm, zhuj...@GMAIL.COM (Jeff) wrote: > how to generate a dataset contains all week day for year 2007? > the dataset should like > date > 1/1/2007 > 1/2/2007 > 1/3/2007 > 1/4/2007 > 1/5/2007 > 1/8/2007 > ...... > Thanks > > Jeff


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