Date: Tue, 1 Jul 2008 08:41:45 -0400
Reply-To: Karen smith <ponwtr@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Karen smith <ponwtr@HOTMAIL.COM>
Subject: Selecting Observations by Date.
Hello, All.
I run a job everyday, and I only want obs. from the previous day. I do not
want to have to change the day every day, so I tried this:
CODE:
Today = Date();
Yesterday = Today - 1;
If Yesterday lt Today;
put @30 today @40 yesterday ;
17714 17713
Why didn't the above code select obs for June 30th.? There are obs. for
that day.
Thanks In Advance
|