Get-Date

Get the current date and time. Note: This command can only be used through PowerShell. More information: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/get-date.

Get-Date

Get-Date -Format "{{yyyy-MM-dd HH:mm:ss}}"

(Get-Date).ToUniversalTime()

Get-Date -UnixTimeSeconds {{1577836800}}