So, you have a page in ASP or a script of some kind that needs to be based on a Sunday. Here's a quick code snipped for "rounding" a date to the Sunday.
sundayThisWeek = Date() - Weekday(Date()) + 1
sundayNextWeek = sundayThisWeek + 7
sundayAfterNext = sundayNextWeek + 7
Date portion, only:
tags: asp, vbscript, visual basic, week,