Convert Unix Epoch Time to Date in Google Sheets

Mike Bjorge picture Mike Bjorge · Jul 21, 2017 · Viewed 68.4k times · Source

I have a sheet with a column of unix epoch times (in seconds): 1500598288

How can I convert these into normal dates?

Answer

ttarchala picture ttarchala · Jul 21, 2017

The simplest way, not requiring any JS programming, would be through a formula, dividing by 86400 seconds per day and adding to January 1, 1970. For example the following gives 21 July 2017:

=1500598288/86400+date(1970,1,1)

To convert a whole column of numbers, just use ARRAYFORMULA:

=arrayformula(A:A/86400+date(1970,1,1))