Hi, I need yesterdays date in format yyyy-mm-dd along with single quotes e.g. '2020-02-28'. Also, it should exclude saturday sunday. So if I am running job on Monday, it should take friday's date as input. I have tried multiple things. I am getting correct yesterdays date with below(not included sat-sun logic yet), but I need single quotes along with it. %sysfunc(PUTN(%eval(%sysfunc(date())-1),yymmdd10.)) Please help.
... View more