Date: Mon, 14 May 2007 13:59:11 +0000
Reply-To: toby dunn <tobydunn@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: toby dunn <tobydunn@HOTMAIL.COM>
Subject: Re: how to extract from a numeric value?
Content-Type: text/plain; format=flowed
sorry that second assignment statement should have been :
Year = Input( Substr( Put( Date , 8. -L ) , 1 , 4 ) , 8. ) ;
On the other hand, you have different fingers. ~ LCG
The early bird may get the worm, but the second mouse gets the cheese in the
trap. ~ LCG
What happens if you get scared half to death, twice? ~ LCG
From: Fei <joey_qf@163.COM>
Reply-To: Fei <joey_qf@163.COM>
Subject: how to extract from a numeric value?
Date: Mon, 14 May 2007 06:53:34 -0700
I have a variable yyyymm - year and month, which is a numeric
I just want year now...I have tried to used "substr", but it returns a
character. I want a numbric value...is there any way?
PC Magazine’s 2007 editors’ choice for best Web mail—award-winning Windows