Results 1 to 2 of 2

Thread: Adding 21 days to a date

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2000
    Location
    Suffolk. UK
    Posts
    162

    Am I looking in the right place?

    I want to add a page to a site which allows the user to enter a date, and the page works out a simple timetable for the user. ie date entered + 21 days you need to do this, date + 25 days you need to do that.

    Is there any simple scrip for this?

    I have looked at Active X and can can write code to achive the desired results, but is this the best way forward? Are people staying away from this because of viruses? Is it netscape compatable (I think not)?

    Should I be looking to do this another way?

    Any pointer would be much appreciated.


  2. #2
    Guest
    Are you using VBscript? If so try the dateadd function,

    newdate = dateadd("d", 21, mydate)

Posting Permissions

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



Click Here to Expand Forum to Full Width