Date: Mon, 21 May 2012 00:22:49 -0400
Reply-To: Randy <randistan69@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Randy <randistan69@HOTMAIL.COM>
Subject: One Minute intervals
I have to construct one minute intervals for 6 hours...I wrote the
data want ; set have ;
if '07:00:00't le time < '07:01:00't then do ; OMI = 1 ; end ;
if '07:01:00't le time < '07:02:00't then do ; OMI = 2 ; end;
/*and so on for the next six hours*/
Is there a shorter way of constructing these intervals?
Thank you in advance.