Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
PSPlex
1.0.12
Private/ConvertFrom-UnixTime.ps1
Function
ConvertFrom-UnixTime
(
$UnixDate
)
{
[timezone]
::
CurrentTimeZone
.
ToLocalTime
(
(
[datetime]
'1/1/1970'
)
.
AddSeconds
(
$UnixDate
)
)
}