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 (January 2007, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 26 Jan 2007 18:05:57 +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: Finding curent system date and time in SAS
Comments: To: ramesh.chakri@GMAIL.COM
In-Reply-To:  <1169834382.818695.226540@s48g2000cws.googlegroups.com>
Content-Type: text/plain; format=flowed

Raj ,

Something like this untested fully:

%Let Start = %SysFunc( DateTime() ) ; %Let End = %SysFunc( DateTime() ) ; %Put TotalTime = %SysFunc( PutN( %SysEvalF( &End - &Start ) , Time. ) ) ;

Toby Dunn

To sensible men, every day is a day of reckoning. ~John W. Gardner

The important thing is this: To be able at any moment to sacrifice that which we are for what we could become. ~Charles DuBois

Don't get your knickers in a knot. Nothing is solved and it just makes you walk funny. ~Kathryn Carpenter

From: Raj <ramesh.chakri@GMAIL.COM> Reply-To: Raj <ramesh.chakri@GMAIL.COM> To: SAS-L@LISTSERV.UGA.EDU Subject: Finding curent system date and time in SAS Date: Fri, 26 Jan 2007 09:59:42 -0800

Hi, I am trying to execute a huge sas code and see the time difference from start of the program to end of the program.

what is the best way to do it? I thought of using sysdate macro variable but it only has date information. systime macro variable only has time info when session started.

Is there any variable (macro or otherwise) that tells current system date and time in SAS?

thanks, Raj

_________________________________________________________________ Valentine’s Day -- Shop for gifts that spell L-O-V-E at MSN Shopping http://shopping.msn.com/content/shp/?ctId=8323,ptnrid=37,ptnrdata=24095&tcode=wlmtagline


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