DateTime dt=dateTime;
do {
dt=dt.AddDays(1);
} while(dt.DayOfWeek!= DayOfWeek.Sunday);
// 'dt' is now the next Sunday
Your question isn't clear whether the same date is returned if the date is already a Sunday; I assume no, but change the above to a while loop if I'm wrong.