Finding the date of the sunday before today's date

In SAS is there  a way to find the date of the last Sunday before today's date.
moriniaAdvanced Analytics AnalystAsked:
Who is Participating?
Aloysius LowConnect With a Mentor Commented:
use weekday function within a data step or proc sql:
sun_b4 = date() - weekday(date()) + 1;
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.