The invention is directed to filtering data in a database with a calendar
user interface. The invention returns data associated with time periods
selected by the user. In particular, the calendar user interface provides
options to the user to individually select a range or non-contiguous time
periods and to specify time periods relative to a current time period
where the relative time periods are internally converted to fixed time
periods.