[Google Sheets] Convert a Unix timestamp to a date and time

Created on November 30, 2026

A Unix timestamp counts seconds since midnight UTC on January 1, 1970. To convert the timestamp in cell A1, divide it by 86,400 to get days and add that amount to the date for January 1, 1970.

=A1/86400+DATE(1970,1,1)

The formula gives the UTC date and time for a timestamp in seconds. Format the result cell as a date to display only the date, as in the example below.

In Google Sheets, the timestamp 1636534019 is displayed as 2021/11/10 in the result cell

Google SpreadSheets