See Convert a Unix timestamp to a .NET DateTime.
You can easily reproduce this in PowerShell.
$origin = New-Object -Type DateTime -ArgumentList 1970, 1, 1, 0, 0, 0, 0
$whatIWant = $origin.AddSeconds($unixTime)
More Related Contents:
- Need to extract value of attribute from xml from Command promt [closed]
- How do I write the value of a single property of a object?
- How can I store output from Format-Table for later use
- How can I use powershell to run through an installer?
- How do I concatenate strings and variables in PowerShell?
- PowerShell and process exit codes
- How to load assemblies in PowerShell?
- Convert a secure string to plain text
- How to exit from ForEach-Object in PowerShell
- How to run an application as “run as administrator” from the command prompt? [closed]
- Web.Config transforms outside of Microsoft MSBuild?
- Pin program to taskbar using PS in Windows 10
- Null coalescing in powershell
- Limit Get-ChildItem recursion depth
- Powershell Invoke-Sqlcmd capture verbose output
- Convert a batch-file command with complex arguments to PowerShell
- Confused with -Include parameter of the Get-ChildItem cmdlet
- How to convert value to KB, MB, or GB depending on digit placeholders?
- Running PowerShell as another user, and launching a script
- Powershell script to see currently logged in users (domain and machine) + status (active, idle, away)
- Gracefully stopping in Powershell
- Upload BIG files via HTTP
- weird delay of the output of an object when followed by start-sleep (or until script end)
- Is there an alternative to GUID when using msiexec to uninstall an application?
- What security setting is preventing Remote PowerShell 2.0 from accessing UNC paths
- PowerShell Capture Write-Host output
- start remote process within the context
- How can I elevate Powershell while keeping the current working directory AND maintain all parameters passed to the script?
- Are you able to use PtrToStringAuto to decrypt a secure string in Powershell 7 on macOS?
- Getting “Can’t find the drive. The drive called ‘IIS’ does not exist.”