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,
Printable View
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,
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).]