Another Salesforce blog!!!

Salesforce, Apex

June, 2015

Checking if the value of type DateTime is null

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