08-22-2003, 08:28 PM
How can I have a macro figure the difference between two differnet times/dates. I wound really like to put a stop watch on some of my processes.
Thanks.
Thanks.
date difference
|
08-22-2003, 08:28 PM
How can I have a macro figure the difference between two differnet times/dates. I wound really like to put a stop watch on some of my processes.
Thanks.
08-23-2003, 08:00 PM
What format your times/dates have (SYSTEMTIME, FILETIME, DATE, from GetTickCount, from Date and Time functions, etc)? And what format should have the difference?
Probably GetTickCount will be best in this case. It returns number of milliseconds since Windows start. Example: _____________________ Now let's use SYSTEMTIME. Here is how to get time as SYSTEMTIME: Here is function TimeDiff that returns difference between two times as number of seconds: ;/
08-25-2003, 02:53 AM
Thanks for the reply...
Those codes will work great!!!!!!! They were exactly what I was needing... |
« Next Oldest | Next Newest »
|