Re: Latency in updating PR_LAST_MODIFIED between Outlook client and Exchange server???

From: Dmitry Streblechenko \(MVP\) (dmitry_at_dimastr.com)
Date: 07/28/04


Date: Wed, 28 Jul 2004 16:33:14 -0700

The client and server clocks are out of sync. PR_CLIENT_SUBMIT_TIME and
PR_MESSAGE_DELIVERY_TIME are settable by the client (server doesn't care),
PR_CREATION_TIME and PR_LAST_MODIFICATION_TIME are calculated (read-only)
properties modified only by the Exchange Server.
Using date/time stamps for sync is not a very good idea. Either cache the
value of PR_CHANGE_KEY to figure out if the object had been modified or use
ICS (Incremental Change Synchronization) to sync the changes.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Robert" <mcguire@reminderminder.com> wrote in message
news:702665ec.0407281509.2f4687cb@posting.google.com...
> Well, it's very strange. This is not an answer to your question about
> which MAPI session I am using, but I do suspect it is relevant:
> Apparently the PR_LAST_MODIFICATION_TIME is always approx. 6 minutes
> earlier than the client machine's system time (after adjusting for
> local versus GMT) at the time of the actual modification. I did a
> little experiment and created a Contact in Outlook and saved it at
> 10:50 pm. This gave some weird results:
>
> PR_CLIENT_SUBMIT_TIME = 10:50 pm (this value matches the client mc's
> systemtime)
> PR_CREATION_TIME = 10:43 pm (earlier!?!)
> PR_LAST_MODIFICATION_TIME = 10:44 pm (earlier!?!)
> PR_MESSAGE_DELIVERY_TIME = 10:50 pm
>
> Then, when I re-open and edit the contact and save it anew, the only
> value that changes is PR_LAST_MODIFICATION_TIME (which seems
> reasonable), but it consistently remains six minutes behind the client
> machine's system time.
>
> I suspect resolving this curiosity will fix my problem or else make
> clearer what might be wrong. Do you have any idea how/why these time
> disparities may be getting introduced?



Relevant Pages

  • RE: Synching with Exchange server from inside and outside the network
    ... synchronize your Pocket PC with Outlook. ... Can you synchronize your Pocket PC with Exchange server externally (server ... SBS 2003 supports ActiveSync via a client, or Server ActiveSync if you have ...
    (microsoft.public.windows.server.sbs)
  • Re: ntp clients out of sync with server
    ... I asked you to do ntpq -c"rv nnnnn" ... for the relevant server. ... That is really help, at the time sync is successful, ... If I start the ntpd client with -d option, ...
    (comp.protocols.time.ntp)
  • Re: timesvc problem synchronizing time
    ... The timezone of the WinCE device (time client) is set to "W. ... After timesvc has get the time from the server, ... returns the system time of the server - 1hour. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Synchronize Issue
    ... Time Server when it is used as a client, which is what it *sounds* like ... One of the settings relates to the maximum error which a sync ...
    (microsoft.public.windowsce.platbuilder)
  • Cannot synchronize to server with local clock
    ... fudged at a high stratum like 8 or 10. ... The *server* stratum varies from 16 ... Without sync machines will diverge. ... and another one stratum 14 on a given client. ...
    (comp.protocols.time.ntp)

Quantcast