There was a preference prefDaylightSavings
that existed prior to OS 4.0 but not typically used. As of OS 4.0 there was a new preference added prefDaylightSavingsAdjustment The value stored in the preference is an Int16 and allowes for not 1 hour offsets for daylight savings. There is also a preference panel that allows the user to turn daylight saving on or off which then adjust the time by 1 hour. The system does nothing automatic. Note that changing the preferences to say that daylight savings is on or off does not change the time... Nor does it change the offset that gets changed when the user goes an uses the panel. It is simply a place holder so that anybody can check what the current offset is. If you want to turn daylight savings time on, you call TimSetSeconds to set the time and then PrefSetaPreference to tell the system that you changed the time for daylight savings. If you do set it to a non 1 hour daylight savings offset I believe the panel will still say daylight savings is off unless it is set at a full 60 minutes with your call to prefsetpreference. You also need to take care, because if the user goes into the prefs panel and turns it on or off, it will always change the time by an hour... Maybe you could register for the time change notification... -Ezekiel -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
