function convertUnixTime {param([Parameter(Mandatory=$true)]$unixTime) [datetime]$origin = '1970-01-01 00:00:00' $origin.AddSeconds($unixTime) }