How to convert timestamp to date format in excel

 

The timestamp information obtained from the linux system is usually s, and the formula to convert it is:

=TEXT((C4/1000+8*3600)/86400+70*365+19,"yyyy-mm-dd hh:mm:ss")

The data stored in cell C4 is ms, so it needs to be divided by 1000

The converted result is as follows:

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324652469&siteId=291194637