Dashboard 24 hours Ago

I have certain question I am wondering how I would be able to do it. I have one that requests a count of records meeting a certain criteria but using a timestamp to show how many match from the Previous x number of minutes. I was wondering if there is a way to get a similar count but in that number of minutes 24 hours ago and have it be moving to be placed on a dashboard, instead of set date that has to be changed.