Date: Wed, 23 Feb 2005 17:01:20 -0500
Reply-To: harry.droogendyk@RBC.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Harry Droogendyk <harry.droogendyk@RBC.COM>
Subject: Re: dates in output window
Content-Type: text/plain; charset=iso-8859-1
title "Report date is %sysfunc(today(),date9.), time is %sysfunc(time(),time5.)";
You'll probably NOT want to use &sysdate and &systime since they reflect the date and time when SAS was started. Try this in a SAS session that's been running for a bit:
%put &sysdate &systime;
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU]On Behalf Of
Chris Maloof
Sent: Wednesday, February 23, 2005 4:35 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: dates in output window
Here's perhaps an easier question than the last. Can anyone suggest a
way to print the current date and time as a header or footer on each
page of the output window?
Thanks,
Chris
------------------------------------------------------------
This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately.
Ce courrier électronique est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite. Si vous recevez ce courrier électronique par erreur, veuillez m'en aviser immédiatement, par retour de courrier électronique ou par un autre moyen.
============================================================