Converts an integer Unix (POSIX) time (seconds since Jan 1, 1970) into a DateTime value.
ConvertFrom-EpochTime.ps1 [-InputObject] <Int64> [-UniversalTime] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
1556884381 |ConvertFrom-EpochTime.ps1
Friday, May 3, 2019 11:53:01
The Epoch time value to convert to a DateTime.
Type: Int64
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: 0
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Indicates the DateTime provided is local, and should be converted to UTC.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: UTC, Z
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
https://en.wikipedia.org/wiki/Unix_time