How can I feature only the best sellers from the last 30 days?

Hello! Any suggestions on how to use a similar snippet to limit the best sellers only to stuff that has sold in the last 30 days? Ie. instead of ‘all time best sellers’, just stuff from the last 30 days. This would keep the list more fresh. Thanks for any help.