I have below query fetching contact fields and task fields from task object
SELECT Id,Who.Name, Subject,Description, ActivityDate, Status, OwnerId, CreatedBy.Name, CreatedDate,LastModifiedById FROM Task
but when I change who.name to any who.CustomFieldFromContact__c object, I get an error
CustomFieldFromContact__c is a date field
can someone please suggest how to fetch custom contact fields from task object?