Add filter by date range - refs BT#9087
Minor - Add PHPDoc and format code - refs BT#9087