Need an expert opinion here:
I am trying to implement a scenario in one of our project which displays the graph based on user input and one of the input is date-time range. Let me describe with an example.
Consider an example where there are records having start-date-time = 2011-09-28 9:30 and end-date-time = 2011-09-28 11:30. Let’s say an user is trying to view a graph for date-time-range of 2011-09-28 10:00 to 2011-09-28 11:00 – now the system should show a graph since the data is available for the given period (since 10 – 11 is within 9.30 – 11.30).
How can I implement this scenario and how do I search for such inputs?
Note:
There might be too many rows for a particular date/date-time
Thanks.
You could use: