I realize this is a conduit question but there doesn't seem to be much activity over there and i'm getting desperate for an answer. I'm trying to synchronize the palms time with the pc if they differ by more than 10 minutes. im using the SyncReadDateTime and SyncWriteDateTime which seem to be a bit buggy with regards to daylight savings time. So I allow 70 minutes difference now before setting the palms time which is fine. it doesnt have to be perfect.

The other problem im having is when the handheld and pc have different time zones.


1. is there any way for me to tell if the palm and pc are running with two different times zones?



2. How do I get the times to both match so I can compare them properly and how should I then prepare the pc time_t to be written to the palm date time if I need to change the palm time. Is the palms dateTime always in UTC?


I tried using
putenv("TZ=UTC");
tzset();
but then the time I write back to the palm gets set to UTC but the time zone stays "eastern"


Thanks for the help,
Mike





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

Reply via email to