Fuction Question

Hi;
What is the function I can use in reports to separate the orders by date, what ordered today, and what ordered before today!

I tried T.LastOrderDate && T.LastOrderDate < CurrentDate and not working

What I should use