Week Days between 2 dates

  • Hi,

    I have 2 dates, start and end date. In my aspx page, I have a check box for all the seven days. Based on the selection how do I find whether those days exists between my start and end dates.

    For ex: Start Date: 1/10/2005 and End Date: 1/20/2005

    If I pass in 1,2,3,4,5,6 and 7 respectively, how do I check whether these days exist within my Start and End Dates..

    Thanks for your help.

  • if dateadd("d", CheckValue - 1, DateStart) <= DateEnd then ok else fail end if

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply