LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (April 2003, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: Sam <gowdar@ADVBIOL.COM>
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


Back to: Top of message | Previous page | Main SAS-L page