From: Ari Toikka on
=0AHi,=0A=0A&sysdate gives you the date of=0Athe day when the sas session w=
as launched.=0A=0ASimilarly, &systime gives you the beginning=0Atime of the=
sas session.=0A=0AAri Toikka=0AStatistics Finland=0A=0A=0A=0A=0A__________=
______________________=0A=0AHello all,=0A=0AI am using SAS EG 4.2 for progr=
am development to generate some SAS graphs. I=0Ahave noticed very strange t=
hing. I have started a SAS EG session yesterday=0Agenerated some programs a=
nd left without closing the SAS session. Today in=0Athe morning after I cam=
e back I used same SAS session to develop more=0Agraphs. Today all the foot=
notes of graphs has yesterday date: 06Jan2010 .=0A=0AThis is not the same t=
hing when I run the same sas program as batch (submit=0Aon Unix)=0A=0AThis =
is rather strange because I am using sysdate9 in my footnotes ??=0A=0Adid =
it happen to anybody too=0A=0A=0AFOOTNOTE3 J=3DL h=3D2 "SOURCE: &source" j=
=3Dr " DATE: &sysdate9 ";=0A=0Athanks=0ASL=0A=0A=0A=0A
From: Jack Hamilton on
In general, I think it's a good idea to use &SYSDATE9. instead of &SYSDATE. - avoid 2 digit years when you can. Similarly, use the date9. format instead of the date. format.




--
Jack Hamilton
jfh(a)alumni.stanford.org
Suave, mare magno turbantibus aequora ventis, et terra magnum alterius spectare laborem.

On Jan 8, 2010, at 4:44 am, Ari Toikka wrote:

>
> Hi,
>
> &sysdate gives you the date of
> the day when the sas session was launched.
>
> Similarly, &systime gives you the beginning
> time of the sas session.
>
> Ari Toikka
> Statistics Finland
>
>
>
>
> ________________________________
>
> Hello all,
>
> I am using SAS EG 4.2 for program development to generate some SAS graphs. I
> have noticed very strange thing. I have started a SAS EG session yesterday
> generated some programs and left without closing the SAS session. Today in
> the morning after I came back I used same SAS session to develop more
> graphs. Today all the footnotes of graphs has yesterday date: 06Jan2010 .
>
> This is not the same thing when I run the same sas program as batch (submit
> on Unix)
>
> This is rather strange because I am using sysdate9 in my footnotes ??
>
> did it happen to anybody too
>
>
> FOOTNOTE3 J=L h=2 "SOURCE: &source" j=r " DATE: &sysdate9 ";
>
> thanks
> SL
>
>
>
>