Convert Unix Epoch Time to Date in Google Sheets

后端 未结 4 1769
太阳男子
太阳男子 2020-12-24 11:44

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

How can I convert these into normal dates?

4条回答
  •  借酒劲吻你
    2020-12-24 12:11

    Building on the accepted answer, you will want to use FLOOR() if you want to be able to compare the dates

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

    Otherwise, "7/21/2017" in one cell might not equal "7/21/2017" in another cell.

提交回复
热议问题