How Can You Modify Google Search URL Date Parameters?

You can filter Google Search results by custom timeframes by appending the tbs=qdr parameter to the end of a search URL and changing the unit letter and number. By replacing the letter for the time unit and the number for the quantity, you can narrow results down to specific hours, days, weeks, months, or years without using the graphical search tools menu.

Understanding the tbs=qdr Parameter

When you perform a search on Google, the URL in your browser's address bar contains query parameters that tell Google what to display. The tbs parameter stands for "to be searched," and qdr stands for "query date range."

The basic syntax follows this pattern:

&tbs=qdr:[unit][number]

To use it, simply add this string to the end of your Google Search URL (for example, https://www.google.com/search?q=your+query&tbs=qdr:m3) and press Enter.

Supported Time Units and Examples

You can customize the filter by combining a single-letter time unit with any positive integer:

  • s (Seconds): Use &tbs=qdr:s30 to see results from the past 30 seconds.
  • n (Minutes): Use &tbs=qdr:n15 to see results from the past 15 minutes.
  • h (Hours): Use &tbs=qdr:h12 to see results from the past 12 hours.
  • d (Days): Use &tbs=qdr:d5 to see results from the past 5 days.
  • w (Weeks): Use &tbs=qdr:w2 to see results from the past 2 weeks.
  • m (Months): Use &tbs=qdr:m3 to see results from the past 3 months.
  • y (Years): Use &tbs=qdr:y2 to see results from the past 2 years.

How to Modify the Numbers

To change the timeframe, locate the qdr: section in the URL and replace the existing letter and number with your desired combination. For example, if your URL currently ends with &tbs=qdr:m3 (past 3 months) and you want to see results from the past 6 months instead, change m3 to m6. If you want to switch from 5 days (&tbs=qdr:d5) to 10 days, change d5 to d10.

If you omit the number entirely (such as &tbs=qdr:d or &tbs=qdr:m), Google defaults the value to 1, showing results from the past 1 day or 1 month.