Converts a Unix timestamp to a DateTime object.
Converts a Unix timestamp to a DateTime object.
The Unix timestamp to convert.
Type: String
Mandatory: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
ConvertFrom-UnixTimestamp -Milliseconds 1747927975516Example output:
Thursday, May 22, 2025 8:32:55 AM
- PowerShell 7.0+