PrefGetPreference(prefMinutesWestOfGMT) returned crazy values for me also.
So, I stopped using it. When Palm adds UI to support time zones, then I'll
start using it again. Until then, here are two methods that you may wish to
use:
Method #1: Provide a pop-up list which has a list of all the time zones by
area. Include both standard time and daylight time where applicable. Save
all dates in GMT and use the user's selected time zone to adjust dates as
they are displayed.
Method #2: If you are connected to a server, ask the host for the current
GMT. Subtract the Palm's time from GMT to determine the 'minutesWestOfGMT'.
Be sure to round off to the nearest 1/2 hour and ignore the day, month, and
year.
I prefer method #1 because the user can change their time zone whenever they
want and the application doesn't have to rely on receiving GMT from the host.