I am writing a PowerShell script to collect the F5 LTM device statistics and open it via Excel. But there I am getting timestamp column which I want to change to human readable datetime. I was able to change it manually via Excel formula =(A2/86400)+25569+(-5/24)
and then Format cell to date. After that I was able to change it to human readable datetime.
My script is as follows:
# Allocate a new Query Object
$Query = New-Object -TypeName iControl.SystemStatisticsPerformanceStatisticQuery
$Query.object_name = "throughput"
$Query.start_time = 1479686400
$Query.end_time = 1480327200
$Query.interval = 0
$Query.maximum_rows = 0