The history viewer allows selecting some past date ranges. Unfortunately, “the last 30 days” etc. is not among them. The quick selection is based on calendar units, which makes no sense to me.
Edit: This has already been suggested as a feature request here: More shortcuts in History date range