Another Salesforce blog!!!

Salesforce, Apex

Checking if the value of type DateTime is null


@(item.Startdate.HasValue ? item.Startdate.Value.ToString("dd/MM/yyyy") : "Date is Empty")

Leave a Reply

Your email address will not be published. Required fields are marked *

*