Question

Today in function alias for RD
When I use a condition pxCreateDateTime = Today in Report Definition, I could see the query gets generated as (pxcreatedatetime >= 'StartDateTime' and pxcreatedatetime <= 'EndDateTime') (where start and end date time are automatically calculated by Pega while generating the query).
How do I use this condition while creating a function alias to be used in RD? When I directly use an input param (date time type) = Today, it gives error at run time.