Reputation: 1
Is there anyway I can display a sharepoint column just date only, I can see when I add new column only date and time format option is there.
$fieldXml = "<Field Type='DateTime' DisplayName='Date Created0' Name='DocCreated' Format='DateOnly' />"
Add-PnPFieldFromXml -List $ListName -FieldXml $fieldXml
This works , but I have trouble in displaying this field in search page, Any suggestion? Thank you
Upvotes: 0
Views: 185