Re: timesvc problem synchronizing time
- From: "John Spaith [MS]" <jspaith@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 7 Apr 2006 12:00:24 -0700
I need to clarify a bit what you're doing.
After synchronizing the timesvc (WinCE 5.0) set the local time to the
system time of the time server.
And the system time of the client is set to system time of the time
server - 1 hour.
When you say "set the local time", it sounds as if you in some application
are explicitly calling SetLocalTime() after the timesvc has done it's magic.
Is this what you're saying, or are saying it as if the timesvc is the actor
setting the time and your app isn't doing anything special here?
If you're explicitly calling the time apis in your app, is it like:
London Time: 1PM (aka 1PM GMT)
Paris Time: 2PM
Device is in Paris as is server
CEDevice SetLocalTime(Server.SystemTime==1PM? (if it's GMT))
--
John Spaith
Development Lead, Windows CE
Microsoft Corporation
Check out the CE Networking Team Blog at http://blogs.msdn.com/cenet/.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All rights
reserved.
"Andy" <Andy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8DD89542-9D11-4B01-AB39-281F237C794D@xxxxxxxxxxxxxxxx
I´ve now updated my system with the following files:
WinCEPB50-051231-Product-Update-Rollup-X86.msi
WinCEPB50-060131-2006M01-X86.msi
WinCEPB50-060228-2006M02-X86.msi
After rebuilding my platform, the same failure with local and system time
happens.
"John Spaith [MS]" wrote:
Andy, this sounds somewhat like http://support.microsoft.com/kb/908026.
Have you installed the latest + greatest QFE's (or at least this one).
You
should make sure you get KB913551 while you're at it as that fixes
another
timesvc bug.
--
John Spaith
Development Lead, Windows CE
Microsoft Corporation
Check out the CE Networking Team Blog at http://blogs.msdn.com/cenet/.
This posting is provided "AS IS" with no warranties, and confers no
rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All
rights
reserved.
"Andy" <Andy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:21539336-B981-4011-BEB7-2D66E3FB2FA1@xxxxxxxxxxxxxxxx
My OS image is based on the gateway template. It includes the timesvc
which i
want to use as a client.
The timezone of the client is GMT +01:00.
The timezone of the server is GMT +01:00.
After synchronizing the timesvc (WinCE 5.0) set the local time to the
system time of the time server. And the system time of the client is
set
to
system time of the time server - 1 hour.
This is the result i get by calling the functions GetLocalTime and
GetSystemTime.
What´s wrong?
Regards,
Andy
.
- Follow-Ups:
- Re: timesvc problem synchronizing time
- From: Andy
- Re: timesvc problem synchronizing time
- References:
- Re: timesvc problem synchronizing time
- From: John Spaith [MS]
- Re: timesvc problem synchronizing time
- Prev by Date: ActiveSync and wake ups
- Next by Date: Re: USB driver unloading
- Previous by thread: Re: timesvc problem synchronizing time
- Next by thread: Re: timesvc problem synchronizing time
- Index(es):
Relevant Pages
|