| Date: | Sun, 28 Aug 2011 14:00:03 -0400 |
| Reply-To: | Arthur Tabachneck <art297@ROGERS.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Arthur Tabachneck <art297@ROGERS.COM> |
| 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
|