You need to sign in to do that
Don't have an account?
SalesRed
How To Extract Via Command Line Dataloader All Records Modifed in the Past Hour
Hi, I have a command line dataloader job which runs at half past each hour. I need to change it that it only extracts records modifed in the past 1 hour. I can follow the instructions as per http://stackoverflow.com/questions/13129691/soql-query-that-extracts-data-that-got-updated-in-the-last-x-hours however there is one potential issue with this. When the day changes over at midnight querying for
LastModifiedDate = TODAY AND HOUR_IN_DAY(LastModifiedDate) > 9 will not be correct. Is there a way to get around this potential issue in the SOWL query?
Thanks for your help.
LastModifiedDate = TODAY AND HOUR_IN_DAY(LastModifiedDate) > 9 will not be correct. Is there a way to get around this potential issue in the SOWL query?
Thanks for your help.
Also, my locale may be different than your user's locale, so make sure your date format is correct (my locale is set to use the format YYYY-MM-DDTHH:MM:ssZ)
Thank you for any further help on this.