David Webb wrote:

Now occasionally, with some user's in the field, the Palm's time will get set exactly 1 day ahead of the correct date/time. I log all responses from the server and I know it is sending the correct time (in seconds) everytime. I've traced the code in the app, and there is nothing going on that could cause this. Its very direct and there are no date conversions - it takes the seconds string from the server, calls StrAToI and stores the value in a UInt32, checks the value to see if it is reasonable (greater than 3000000000), then calls TimSetSeconds(). Its always off by exactly one day though which is like 86400 seconds or something.

Is it only w/ some users? And those users always have the problem? Have you verified yet that the users' clocks are set to the right date?
I know, sounds stupid, but the "occasionally" suggests that to me.


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

Reply via email to