What are startdatetime & enddatetime? I think they're the ones that sort out what day the doc is in.
Report says EST? I can't remember (head hurting), but I think that means to subtract an hour for Daylight Savings. 8 AM.
Then the question, what's the time zone your workstation's in?