Hi Prabkar, The prefDaylightSavingAdjustment preference is used to check the DST adjustment in minutes, so the return value should be either 60, 30 or 0 depending on where you are. Both of the cities that you listed (Rio and Auckland) are currently not observing daylight savings. (Rio's DST ended on February 20th and Auckland's ended on March 19th). See here: http://www.timeanddate.com/time/dst2005a.html for more details.
Hope this helps! -Jon ------------------------------------------- Jonathan Hays Palm OS Certified Developer http://hazelware.luggle.com ------------------------------------------- -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Prabakar MP Sent: Monday, April 04, 2005 7:15 AM To: Palm Developer Forum Subject: "DayLightSaving" check gives wrong result(Treo 650). Hi, I am checking the below "DST (DayLightSaving)" check condition in my application for Treo 650. [ To Find out, whether DST checkbox is checked or not checked in device ] condition: "if( PrefGetPreference(prefDaylightSavingAdjustment) != dsNone ) return true; else return false;" It gives the correct result(true or false) in my appliaction by checking on Treo 600 with all the cities. But Its not giving the correct result(true or false) on Treo 650 for Some Particular Cities(Auckland,Rio-de-Janeiro,....). Instead of that, It gives always "false" on those particular cities, Even "DST" is checked in device. Can anyone please figure out the problem? - Prabakar. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
