Date: Thu, 22 Jan 2009 11:53:41 -0500
Reply-To: Nathaniel.Wooding@DOM.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Nat Wooding <Nathaniel.Wooding@DOM.COM>
Subject: Re: year 1961
In-Reply-To: <8789924c0901220836s47e0a277k85bbbf65409d51f9@mail.gmail.com>
Content-Type: text/plain; charset="US-ASCII"
Fay
Goodnight is a smart guy but a birth year of 1961 would have had him
starting to code SAS when he was around 7.
I assume that you are referring to the Yearcutoff option. Take a look at
the following from the online docs. It should explain things better than I.
The YEARCUTOFF= value is the default that is used by various date and
datetime informats and functions.
If the default value of nnnn (1920) is in effect, the 100-year span begins
with 1920 and ends with 2019. Therefore, any informat or function that uses
a two-digit year value that ranges from 20 to 99 assumes a prefix of 19.
For example, the value 92 refers to the year 1992.
The value that you specify in YEARCUTOFF= can result in a range of years
that span two centuries. For example, if you specify YEARCUTOFF=1950, any
two-digit value between 50 and 99 inclusive refers to the first half of the
100-year span, which is in the 1900s. Any two-digit value between 00 and
49, inclusive, refers to the second half of the 100-year span, which is in
the 2000s. The following figure illustrates the relationship between the
100-year span and the two centuries if YEARCUTOFF=1950.
If , instead, you are referring to Date = 0 in the SAS scheme of counting
dates,
1 data;
2 date = 0;
3 format date mmddyy10.;
4 put date;
5 run;
01/01/1960
Which is the start of the decade in which SAS was written.
Nat Wooding
Environmental Specialist III
Dominion, Environmental Biology
4111 Castlewood Rd
Richmond, VA 23234
Phone:804-271-5313, Fax: 804-271-2977
Fatos Simsek
<fatosus@GMAIL.CO
M> To
Sent by: "SAS(r) SAS-L@LISTSERV.UGA.EDU
Discussion" cc
<SAS-L@LISTSERV.U
GA.EDU> Subject
year 1961
01/22/2009 11:36
AM
Please respond to
Fatos Simsek
<fatosus@GMAIL.CO
M>
Hi Everybody,
This is a light question when some of the SAS/Statistics questions on this
listserve considered..
I want to know what the significance of year 1961 in SAS cutoff time
codes(?). For such a long time I though it was the birth year of Jim
Goodnight.. I found out that it is not!
Thanks,
Fay
--
\\ - - //
( @ @ )
+------oOOo-(_)-oOOo----------+---------------------------------+
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.