PDA

Click to See Complete Forum and Search --> : number of date


Mohammed
Jan 1st, 2000, 08:16 PM
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,

Jan 1st, 2000, 10:45 PM
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).]