Results 1 to 2 of 2

Thread: number of date

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 1999
    Location
    Columbus, OH, USA
    Posts
    16

    Post

    How can I get my program to calculate the number of date?
    Example: I want my program to process a task after 5 days of entering the task.
    Thank you,

  2. #2
    Guest

    Post

    when the program starts, get it to remember the date, in a variable.

    then use the Datediff function inside a timer event to decide if the 5 days has passed since the recorded date.

    you should look in the microsoft MSDN website for details about the datediff function (or on the CD if you have it)


    [This message has been edited by wossname (edited 01-02-2000).]

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