Sales for a specific date?

in Development
I have been trying to get all sales for a specific date (actually after the date starts GMT time). I am having no luck when ever I put a date in the php query I get records from months ago. However, postman works.
Any help?
Answers
Can you not run a report? If I want to see my sales from a specific date, I go to reports and under Sales & Refunds, I choose "Totals" and then change the date to see the one I want.
i've solved it