user2330678
user2330678

Reputation: 2311

How to get system time using windows azure powershell

How to find system time using windows azure powershell? I want time only and it should be in 24 hour format. I have tried get-date and [system.datetime]::now I want only time. I don't want date.

Upvotes: 1

Views: 940

Answers (1)

Goyuix
Goyuix

Reputation: 24340

Try this:

Get-Date -Format "HH:mm"

HH is for 24 hour, hh would be 12 hour.

Upvotes: 3

Related Questions