> I think you were closer with your second attempt, you just need to tell the > compiler to use 32-bit integers. > > gExpiry = TimGetSeconds() + 30 * daysInSeconds;
i didn't see anything wrong with his latest attempt actually if your not going to pick on code efficiency or so :) of course, doing a: TimGetSeconds() + 30 * daysInSeconds; is a lot faster than doing the DateAdjust() api call :) --- Aaron Ardiri [EMAIL PROTECTED] CEO - CTO +46 70 656 1143 Mobile Wizardry http://www.mobilewizardry.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
