Date Calculation ASP

Results 1 to 2 of 2

Thread: Date Calculation ASP

  1. #1
    John Tamburo Guest

    Default Date Calculation ASP

    I need to feed a date range into a SQL call. What I want to do is present the user with a form with choices like<BR><BR>Next 30 Days<BR>Next 90 Days<BR>Next 180 days<BR>Next Year<BR><BR>I can determine today&#039s date with ease using Now. However, I need to rapidly get to now plus x days, and cannot find that. Does anyone know of a code chunk, sub, include, etc, that works like that, you know like<BR><BR>sub AddDaysToDate startdate, daystoadd, enddate<BR><BR>Thanks<BR>John

  2. #2
    John Tamburo Guest

    Default Ignore this -- A Mind is a terrible thing to waste

    I just looked again and found dateadd. Sheesh.<BR><BR>John

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts