Hi,
I'm trying to find a way to get the number of seconds, minutes, and hours between two specific times.
Examples:
How many seconds from now until midnight
How many seconds from the time and date you were born until now.
Or time difference between any two arbitrary date/times.
Anyway, I can get the current time, I can set a SYSTEMTIME to any date/time I want, but I can't seem to find a way to subtract one from the other and end up with seconds.
Anybody have any ideas? I figure I must be missing something easy.
Thanks,
Pam
I'm trying to find a way to get the number of seconds, minutes, and hours between two specific times.
Examples:
How many seconds from now until midnight
How many seconds from the time and date you were born until now.
Or time difference between any two arbitrary date/times.
Anyway, I can get the current time, I can set a SYSTEMTIME to any date/time I want, but I can't seem to find a way to subtract one from the other and end up with seconds.
Anybody have any ideas? I figure I must be missing something easy.
Thanks,
Pam