views:

35

answers:

1

Hey,

is there a way to find out the last time a contact was modified? I can't seem to find a variable for it. The reason I'm asking is because I'd like to do a sync of the contacts to my web server and I don't feel like checking for each contact with a HTTP request if it needs updating.

So I was thinking to check the date of the last update to the date of the last sync.

A: 

Didn't find a way to do this. I can store the last sync date, but no way of checking if the contact was updated since then.

EDIT:

the contact has a DIRTY flag, which is set to 1 if the contact was changed and not synced.

Bostjan