How to determine if it's past midnight for conditional data retrieval

Because I need to know if we’ve already passed midnight (00:00) today. If the answer is yes, then I need yesterday’s data; if not, I need today’s data?

blueprint (4).json (11.1 KB)