Hello,
The "DateDiff" function in VBS allows you to calculate the difference between any two valid date strings, and return the answer in units of quarters, months, weeks, days, hours, minutes, or even seconds!
This is in response to a request for a "timer" that would measure the time since the last user response, even if the last response was days ago (the computer must be running during that time of course).
The demo file shows the code to use the "DateDiff" function; Hal simply states the time in seconds since the last time that you said anything.
The demo code in the script that makes this happen should be pretty much self explanatory.
I hope that this is of some interest and value to you.
Sincerely,
Don
Download Attachment:
Date Difference Demo Code Brain.uhp12.08 KB