Relative time api

Allows the use of a 'delta' (with 'period' and optionally 'date') for relative date ranges.