I'd really appreciate a fix for the following code so that it properly shows 29 days for this February, or any leap year for that matter. Thanks ahead of time! days := @If ( @Month(@Today) = 2 ; 28 ; @Month(@Today) = 1: 3 : 5 : 7 : 8 : 10 : 12 ; 31 ; 30) ; monthEnd := @Date (@Year(@Today) ; @Month(@Today) ; days ); SELECT Status = "OPEN" & (Form = "MfgOrder" | @IsResponseDoc) & ReqShipDate <= monthEnd