Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
Traverse
0.7.1
Private/Get-UnixTimestamp.ps1
function
Get-UnixTimestamp
(
[DateTime]
$Date
=
(
get-date
)
)
{
[int]
[double]
::
Parse
(
(
Get-Date
$Date
-UFormat
%s
)
)
}