Summary of the new feature / enhancement
As a user, I want Get-Date to be consistent between windows powershell and powershellcore so I don't have to maintain separate, customized scripts for windows powershell and powershellcore.
If you run the following command, you get a decimal value in windows powershell and an integer value in powershellcore.
(Get-Date -Date (Get-Date).AddSeconds(-60).ToUniversalTime() -UFormat %s)
This should be consistent between the two so I can use the same script between windows powershell and powershell core.
Proposed technical implementation details (optional)
No response
Summary of the new feature / enhancement
As a user, I want Get-Date to be consistent between windows powershell and powershellcore so I don't have to maintain separate, customized scripts for windows powershell and powershellcore.
If you run the following command, you get a decimal value in windows powershell and an integer value in powershellcore.
(Get-Date -Date (Get-Date).AddSeconds(-60).ToUniversalTime() -UFormat %s)This should be consistent between the two so I can use the same script between windows powershell and powershell core.
Proposed technical implementation details (optional)
No response