date comparison


I am using c++ 2006 by borland delphi

I have two dates that i want compared , basically i want to find out how may minutes between them
I am a novice when it comes to C++ and i found this on the help, how do i use this in my code:

iLeftVal = __int64 MinutesBetween(TimeToStr(Now()) ,TimeToStr(Now()));
Topic archived. No new replies allowed.