The above will return the date of the previous Sunday, unless today is Sunday, in which case it will return today's (current) date. The following also works, except that it always returns the date of the previous Sunday:
i don't know what i did, but it threw me for a doosy! i see what i did (as i'm sure so does everyone else ). i was the one with the friday! i bet i sounded like a hipocrit (spelling??). so i apologize.
Tom, thanks! and sorry for the confusion there.