+ Start a Discussion
DML2020DML2020 

Reference today in aura .cmp file for condition

For 

<aura:if isTrue="{!v.property.CLMemberThru__c lt TODAY() == 'Inactive'}">

if TODAY() is not recognized as a function, how do I define it to check if it is true if the CLMemberThru field is before TODAY's date?

VinayVinay (Salesforce Developers) 
Check below reference example.

https://salesforce.stackexchange.com/questions/164230/how-can-i-quickly-get-todays-date-in-a-lightning-component-for-use-in-an-attr

Thanks,