Or if you want to reference get-date values within the date range calculation;
(New-TimeSpan -Start '2025-04-19' -End (Get-Date -UFormat "%Y-%m-%d")).Days