Convert Unix time with PowerShell
问题 I am parsing an SQLite database using the PowerShell SQLite module, and a couple of the return values are created and modified, both of which are in Unix time. What I would like to do is somehow convert that into \"human time\". I have removed some of the other SQL queries for ease of reading. Import-Module SQLite mount-sqlite -name GoogleDrive -dataSource E:\\Programming\\new.db $cloud_entry = Get-ChildItem GoogleDrive:\\cloud_entry foreach ($entry in $cloud_entry) { $entry.created } The