[Yesterday]
x;
#int(x)=today()-1

[This Week]
x;
#int(x)>=today()-weekday(today()) && int(x)<=today()-weekday(today())+6
[Last Month]
x;
#(int(x)-today()<0 && int(x)-today()>-62) && mod(month(x),12)=month(today())-1
[This Quarter]
x;
#year(x)=year(today()) and quarter(x)=quarter(today())
[Last Year]
x;
#year(x)=year(today())-1

[August]
x;
#compare(monthname(x)$,"Aug")

[From Monday to Friday]
x;
#weekday(x)>=1 and weekday(x)<=5
[Between 9:00 AM and 6:00 PM]
x;
#hour(x)>=9 && hour(x)<=18
