LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 2007, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 25 Oct 2007 16:41:59 +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: A time5. format but hold more than 24 hours ?
Comments: To: Ya Huang <ya.huang@amylin.com>
In-Reply-To:  <200710251632.l9PAkiko023473@malibu.cc.uga.edu>
Content-Type: text/plain; charset="Windows-1252"

Ya ,

Time6.2

Toby Dunn

Compromise is like telling a lie, it gets easier and easier. Each compromise you make, that becomes your standard.

Perfection doesnt exist, once you reach it, its not perfect anymore. It means something else.

> Date: Thu, 25 Oct 2007 12:32:32 -0400 > From: ya.huang@AMYLIN.COM > Subject: A time5. format but hold more than 24 hours ? > To: SAS-L@LISTSERV.UGA.EDU > > Hi there, > > I want to show an elapse time as hh:mm format, but the hour part > may go over 24. For example, a='127:56:34't, I want it shown as > 127:56. If I use time5., I'll get 127. > > I tried to play around the picture format, but failed: > > 122 proc format; > 123 picture mytime > 124 low-high = '%0I:%0M' (datatype=time); > 125 run; > > > 126 > 127 data _null_; > 128 a='7:56:34't; > 129 put a time5. a mytime.; > 130 a='127:56:34't; > 131 put a time5. a mytime.; > 132 run; > > 7:56 07:56 > 127 07:56 > > I change to '%00I:%0M', but not work either. I can't use time7., because I > don't want to see the second portion. > > Any idea ? > > Thanks > > Ya

_________________________________________________________________ Windows Live Hotmail and Microsoft Office Outlook – together at last. Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033


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