Hi,

Is this the good way to do this ?

 if (romVersion >= sysMakeROMVersion(4,0,0,sysROMStageRelease,0))
    secs += (PrefGetPreference(prefTimeZone) +
PrefGetPreference(prefDaylightSavingAdjustment)) * 60;
 else
    secs += (PrefGetPreference(prefMinutesWestOfGMT) - 720) * 60; // no sure
about this one

Thanks a lot :)
Chris

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

Reply via email to