CmdID

CmdID / Commands

get-date

Get the current date and time. tldr-pages

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from tldr-pages, CC BY 4.0

Get the current date and time. Note: This command can only be used through PowerShell.

Display the current date and time

Get-DateIdentify

Display the current date and time with a .NET format specifier

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

Display the current date and time in UTC and ISO 8601 format

(Get-Date).ToUniversalTime()

Convert a Unix timestamp

Get-Date -UnixTimeSeconds 1577836800Identify