Do the start date and end date play any role in retreiving data here?
From your query it is evident that no WHERE clause has been specified based on SD and ED. Obvisouly, the where clause is based on what you require out of the query. It is not a necessity. The basic functionality of time bar is to help you change Start and End date such that when you apply them, data on your display changes. This is not possible if underlying data is not using the parameters.
Regards,
Anushree