You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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