Use

    DateType Date1, Date2;
    UInt32 DeltaDays;

    // :
    // :
    // Assuming that Date1 is after Date2:
    DeltaDays = DateToDays (Date1) - DateToDays (Date2);

For time, use TimDateTimeToSeconds() instead of DateToDays().

Regards,
Vesselin
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to