Logins may be showing incorrect profile information. Please email psgadmin at microsoft.com for support.
Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
sdp
1.5.8
Private/Convert-SDPTimeStampFrom.ps1
function
Convert-SDPTimeStampFrom
{
param
(
[
parameter
(
Mandatory
)
]
[int]
$timestamp
)
$epoch
=
Get-Date
-Date
"01/01/1970"
return
$epoch
.
AddSeconds
(
$timestamp
)
}