Skip to content

joeymeijer/powershell-epoch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

powershell-epoch

function to convert datetime to epoch

with the function loaded in your pssession, you can convert the current datetime to epoch to simply use the parameters, or parse the datetime object to the function.

like:

get-epoch -year 2025 -month 1 -day 1 -hour 00 -minute 00 -second 00 -millisecond 00

or

get-date 1-1-2025 | get-epoch

or

get-date 17:00 | get-epoch

Releases

No releases published

Packages

No packages published