Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
Traverse
0.5
Private/ConvertFrom-UnixTimestamp.ps1
function
ConvertFrom-UnixTimestamp
(
[int]
$UnixTimestamp
=
0
)
{
[datetime]
$origin
=
'1970-01-01 00:00:00'
$origin
.
AddSeconds
(
$UnixTimestamp
)
}