Quantcast
Channel: Working with epoch time in PowerShell using UniversalTime - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Bryce McDonald for Working with epoch time in PowerShell using...

If you look at Get-Help Get-Date the first parameter is a -Date option. We can use that to our advantage by wrapping our Get-Date in another Get-Date like so:$epochseconds = Get-Date...

View Article


Working with epoch time in PowerShell using UniversalTime

This is probably a super simple question, but I'm a bit frustrated now because I can't find exactly what I'm looking for on the internet.I am trying to convert a PowerShell DateTime to Epoch time using...

View Article
Browsing latest articles
Browse All 2 View Live