Date: Mon, 21 Apr 2003 15:06:17 -0400
Reply-To: Ed Heaton <EdHeaton@WESTAT.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Ed Heaton <EdHeaton@WESTAT.COM>
Subject: Re: displaying time values
Content-Type: text/plain; charset="iso-8859-1"
Sam,
Use the HHMMw.d format. E.g.,
Data test ;
Input time time7. ;
Cards4 ;
12:03
1:33
123:23
;;;;
Proc print data=test ;
Var time ;
Format time hhmm8. ;
Run ;
Ed
Edward Heaton, Senior Systems Analyst,
Westat (An Employee-Owned Research Corporation),
1600 Research Boulevard, Room RW-3541, Rockville, MD 20850-3195
Voice: (301) 610-4818 Fax: (301) 610-5128
mailto:EdHeaton@westat.com http://www.westat.com
-----Original Message-----
From: Sam [mailto:gowdar@ADVBIOL.COM]
Sent: Monday, April 21, 2003 2:43 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: displaying time values
Hi,
I am trying to read time values 12:03 , 1:33, 123:23 which is
stored as time5. when i try to print its not properly alligned. It
looks some thing like this,
12:03
1:33
123:23.
How to allign properly
12:03
1:33
123:23
Thank you
|