Need a little bit of clarification here... Are you looking to import your own data or use the built in Q data?
If you use the built in Q data then the 'history' method is what you would use (see https://www.quantopian.com/help#api-data-history ). The rows (the major index) will be times (either daily or minutely depending upon the chosen frequency) and the columns will be the various price and/or volume data at that time depending upon which fields one choses. This will be either a 2D pandas dataframe if a single security is fetched or a 3D pandas panel if multiple securities are fetched (or potentially a series if a single security and single field are fetched).
The timestamps in the index are all absolute so one can manipulate, search, and slice by fixed datetimes as desired. However, the length (the number of rows or time units) to look back is fixed and relative to the current algorithm time. One can't directly specify 'fetch data for 1-2-2016' for instance. This is entirely to prevent look ahead bias. One can never view data from the future in an algorithm.
One can indirectly select a specific date range by calculating the number of days (or minutes) the desired date is from the current algo time. Then, simply use that 'delta' as the 'bar_count' in the history method. Not sure what a use case for this would be?
Does this help? I could give some examples if you would like specifics.