title: Updating and Deleting Records in Salesforce using REST API
body: <p>ax1.salesforce.com/services/data/v29.0/sobjects/Account/updated/?start=2015-06-30T06%3A49%3A00%2B00%3A00&amp;end=2015-06-30T16%3A30%3A26%2B00%3A00</p>
  
  <p>This seems to be a typical update query and delete query will also be similar
  to the above</p>
  
  <p>The response for this query will be of the form:</p>
  
  <p>"ids": [ "0019000001QeOINAA3" ], "latestDateCovered": "2015-06-30T09:00:00.000+0000" }</p>
  
  <p>The main problem here is latestDateCovered Parameter:</p>
  
  <p>It doesn't return the exact time due to the reasons mentioned in the following link:</p>
  
  <p><a href="https://help.salesforce.com/apex/HTViewSolution?id=000199029&amp;language=en_US" rel="nofollow">https://help.salesforce.com/apex/HTViewSolution?id=000199029&amp;language=en_US</a></p>
  
  <p>so instead of this can I use LastModifiedDate parameter to update something like this:
  <a href="https://ap1.salesforce.com/services/data/v30.0/query?q=select%20LastModifiedDate%2CName%20from%20Account%20Where%20LastModifiedDate" rel="nofollow">https://ap1.salesforce.com/services/data/v30.0/query?q=select%20LastModifiedDate%2CName%20from%20Account%20Where%20LastModifiedDate</a>>2015-07-01T10%3A04%3A00.000%2B0000</p>
  
  <p>I store the lastModifiedDate parameter(highest of all records) and do the same</p>
  
  <p>Both the queries will yield the same results right</p>
  
  <p>Infact the secondly mentioned one gives better results </p>
  
  <p>I can proceed with the same right?</p>
  
  <p>will there be any problem?</p>