Reputation: 2311
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
Reputation: 24340
Try this:
Get-Date -Format "HH:mm"
HH is for 24 hour, hh would be 12 hour.
Upvotes: 3