Im having an issue using the start and end date bindings for historical tag binding. When referencing these custom properties or even directly binding to date picker value, this does not work. I get a single row back from the current day. Is there any way to see how the binding is interpreting this date? When I switch to realtime I have no issues with bindings. There is is plenty of data for this tag for the query range and should return data.
Why are you formatting your datetime objects as strings? That makes them not datetime values any more, but strings. History bindings and history queries need the datetime objects themselves.
A string that looks like a date and time is not a date and time for code purposes.