I am having an issues where the rest api is returning orders from a date that's incorrect. We are using the clientcreatedtime and when we put in a date range for some reason the last 5 orders are returning with a date from previous date. This is not happening on sandbox only on production, any ideas?
Here is the code for getting the orders with date range: http://pastebin.com/86pCXLuk and the actual api execution: http://pastebin.com/mtBu8L48