'

'The Unix time you want to convert.

Dim x As Double = 1089316377

'Setup a new DateTime starting at Jan 1st 1970. 

Dim d As New DateTime(1970, 1, 1)

'

'Then just add the Unix value to the DateTime variable as seconds.

d = d.AddSeconds(x) 

'

'Display the structured time value.

MsgBox(d.ToString) 

    

