this should work: "#{ContactName__c}_" + Date_of_Birth__c.strftime('%m-%d-%Y') Is it recognised as a date/time string? If not you can parse it to a date time format:"#{ContactName__c}_" + Date.parse(Date_of_Birth__c).strftime('%m-%d-%Y')Maybe try th...