I have this PnP-Powershell line that gives the last date in het column Date of a SharePoint list. Even thou in the list column are only dates displayed. With this command i get also the time. How can i only get the date.
Write-Host "Stand-By rooster XXXXXX: " (Get-PnPListItem -List "Stand-By rooster XXXXXXX | select -Last 1)["Datum"]