<%
nextSunday = dateadd("d", 8-datepart("w", date()), date())
response.write nextSunday
response.write "<p>"
response.write formatdatetime(nextSunday, 1)
%>
"J. Muenchbourg" <jo*****@canada.com> wrote in message
news:ux*************@tk2msftngp13.phx.gbl...
Looking thru my resources, I cannot find a simple way of displaying next
sunday's date depending on what todays date is. I'd like to do it
without doing 7 if statements or case select:
todaysdate = now
sundaysdate = weekday(todaysdate + ?)
??
muench
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!