Convert Unix epoch time

Unix epoch time represents the number of seconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC) on January 1, 1970. For example, the Unix epoch time for Tuesday, March 12, 2019 at 8:24:23 Pacific Daylight time is this:


On a Macintosh computer, you can convert Unix epoch time to a “real” date and time by running a Terminal command similar to this:

date -r 1552404263

On a Windows computer, use a Windows PowerShell command similar to the following:

(Get-Date "1970-01-01 00:00:00.000Z") + ([TimeSpan]::FromSeconds(1552404263))