Date: Thu, 3 Jun 2004 11:56:28 -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: Time Informat
Content-Type: text/plain
Ravi,
You can use the HMS function to post-process your input. Try reading the
value as a number and then applying the following.
time = hms(
int( time / 10000 )
, int( mod( time , 10000 ) / 100 )
, mod( time , 100 )
) ;
Ed
Edward Heaton, SAS Senior Systems Analyst,
Westat (An Employee-Owned Research Corporation),
1600 Research Boulevard, 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: Ravikumar. J [mailto:ravi_pune@YAHOO.COM]
Sent: Thursday, June 03, 2004 10:48 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Time Informat
Hello,
Whats the informat that I need to use to read the time value stored
as a string in hhmmss format ?
I need to read the time value '163758'. Is there any time informat
for this ?
Quick reply would really help ... :)
Thanks and Regards
Ravi
________________________________________________________________________
Yahoo! India Matrimony: Find your partner online.
http://yahoo.shaadi.com/india-matrimony/
|