Use these copy‑paste Excel formulas to convert Unix timestamp (epoch) to human‑readable date and time. Supports seconds, milliseconds, and timezone offsets.
A1 contains Unix timestamp in seconds
= A1/86400 + DATE(1970,1,1)
Then format the cell as a Date/Time. Tip: Select the result cell → Ctrl+1 (Format Cells) → Date (or Custom) → yyyy-mm-dd hh:mm:ss.
A1 contains Unix timestamp in milliseconds
= A1/1000/86400 + DATE(1970,1,1)
Excel stores days as serials. Divide milliseconds by 1000, then by 86400.
A1 contains Unix timestamp in seconds, convert to UTC+8
= A1/86400 + DATE(1970,1,1) + (8/24)
Add/subtract hours ÷ 24 to apply timezone offset. For UTC−5 use −5/24.