[英]Changing a Unix Timestamp to a Date in google sheet each time data is added
I am trying to convert a unix time stamp to a date in Google sheet.我正在尝试将 unix 时间戳转换为 Google 工作表中的日期。 The problem I am having is I need the unix stamp to change to a date each time using a formula every time the data gets added to the sheet.
我遇到的问题是,每次将数据添加到工作表时,我都需要使用公式将 unix 戳更改为日期。 the formula i am using is =S2/1000/60/60/24 + DATE(1970,1,1).
我使用的公式是 =S2/1000/60/60/24 + DATE(1970,1,1)。
How can is create a formula that will convert the unix stamp each time the data is added to that column without doing it manually?如何创建一个公式,在每次将数据添加到该列时转换 unix 标记而不手动执行? Hopefully I've provided enough information
希望我提供了足够的信息
try in row 2:在第 2 行尝试:
=ARRAYFORMULA(IF(S2:S="",,S2:S/1000/60/60/24 + DATE(1970,1,1)))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.