0

Here is the code :

<lightning:select aura:id="SelectRepport" name="PaymentType" label="repport Z" onchange="{!c.zRepportSelected}">
<option value="0">Chosse ...</option>
<aura:iteration items="{!v.ZRepports}" var="repport">
        <option value="{!repport.ZHeaderID__c}" text="{!repport.ZHeaderID__c +' '+repport.ZDateTime+' '+ repport.maxNumberOfTrans}"></option>
</aura:iteration>

How can I display the repport.ZDateTime (DateTime)in a date format (MM/DD/YYY)?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.