DateTime to 24 Hour Time $date.ToString("HH:mm") DetailsFormat a DateTime value in the 24 Hour Time format Example PS C:\> $Date = Get-Date >> $date.ToString("HH:mm") 11:06 Share this:Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window) DateTime General | date-formats datetime