Display Yesterday's Date in PROC PRINT

Lee R Liddick Jr
Lee R Liddick Jr used Ask the Experts™
on
Trying to get yesterday's date to show on title and everything that I am trying, it is not working.  This is what I have right now which displays today's date obviously:
title2 "For something that was done yesterday on %sysfunc(date(),MMDDYY10.)";
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Hi

Try:

TITLE  "Yesterday was %SYSFUNC(INTNX(DAY,%SYSFUNC(TODAY()), -1), DATE9.)";
Lee R Liddick JrReporting Analyst

Author

Commented:
Tried everything around something like that...thank you!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial