Understanding the result for the query

Continuing the discussion from Restrict specific time range:
As per the issue, you have recommended that time:(from:now%2Fd-12h,to:now%2Fd-12h)) will give data from today's date - 12 hour i.e 12am to 12pm. In my case I need data for 1 day for which I have used time:(from%3Anow%2Fd-24h%2Cto%3Anow%2Fd-24h) which should give us data for 1 day, right? But after downloading pdf with this, I can see that the time range mentioned in the pdf is for the same day (i.e Jun 21, 2022 @ 00:00:00.000 to Jun 21, 2022 @ 00:00:00.000) but the result/output is showing data for the whole day(i.e Jun 21, 2022 @ 00:00:00.000 to Jun 22, 2022 @ 00:00:00.000) which is correct. Whereas when I have changed the url to time:(from%3Anow%2D1d%2Fd%2Cto%3Anow%2Fd) it is showing correct time range in the dashboard's pdf but the result/output data is not correct in that. Could you please explain it? @Marta_Bondyra

Scenerio1: Showing wrong date but correct data
MicrosoftTeams-image (2)

Scenerio2: Showing correct date but wrong data
MicrosoftTeams-image (1)