Functions/Data/ConvertFrom-UnixTime.ps1
Function ConvertFrom-UnixTime { [cmdletbinding()] Param ( # Unix date to convert [Parameter(Mandatory=$true,ValueFromPipeline=$true)] $UnixDate ) Process { [timezone]::CurrentTimeZone.ToLocalTime(([datetime]'1/1/1970').AddSeconds($UnixDate)) } } |