News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Dates difference

Started by lamer, September 28, 2005, 09:50:45 AM

Previous topic - Next topic

lamer

Hi!
Does anybody know way to find difference between two dates?
The dates are in SYSTEMTIME format.
Something like VB DateDiff function.

Thank you.

hitchhikr

SystemTimeToFileTime()
FileTimeToSystemTime()

FILETIME structures are 64bits numbers so if you want to get a difference do some 64bits arithmetic.

And eventually CompareFileTime().