| 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 |
|
| In-Reply-To: | <201108281800.p7SApWo9010902@waikiki.cc.uga.edu> |
| Content-Type: | text/plain; charset="us-ascii" |
Cool
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
Peter,
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:
http://support.sas.com/rnd/base/ods/odsrtf/rtf901.html
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
>
>http://www.statisticalanalysisconsulting.com/
>
>http://www.IAmLearningDisabled.com
|