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 (August 2011, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Sun, 28 Aug 2011 14:03:46 -0400
Reply-To:   Peter Flom <peterflomconsulting@MINDSPRING.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Peter Flom <peterflomconsulting@MINDSPRING.COM>
Subject:   Re: System date and time question
Comments:   To: Arthur Tabachneck <art297@ROGERS.COM>
In-Reply-To:   <>
Content-Type:   text/plain; charset="us-ascii"


It's amazing what this list knows.

Peter Flom

-----Original Message----- From: Arthur Tabachneck [mailto:art297@ROGERS.COM] Sent: Sunday, August 28, 2011 2:00 PM To: SAS-L@LISTSERV.UGA.EDU; Peter Flom Subject: Re: System date and time question


There is an option you need to set: SASDATE

This option causes the standard SAS date to be inserted in the document in place of the default RTF specification that inserts the printing date and time. For example, compare the output from code that uses SASDATE:

ods rtf file="sasdate.rtf" sasdate; proc print data=sashelp.class; run; ods rtf close ;

to output with the default date and time: ods rtf file="rtfdate.rtf"; proc print data=sashelp.class; run; ods rtf close;

It is documented at:

Art ------- On Sun, 28 Aug 2011 13:07:37 -0400, Peter Flom <peterflomconsulting@MINDSPRING.COM> wrote:

>Hello > > > >Here's an odd one. Using SAS 9.3 on Windows 7. Some analysis that I >did yesterday (8/27/11) and output to an rtf file has the date 8/28/11 >in the upper right corner. But when I checked the date and time using >date() and >time() they were correct. > > > >Very strange! > > > >Any clues? > > > >Peter > > > >Peter Flom > >Peter Flom Consulting > > > >

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