Display milliseconds in Excel

后端 未结 4 1423
深忆病人
深忆病人 2020-12-01 05:18

I am trying to display milliseconds in an Excel macro. I have a column of integers which are timestamps in milliseconds (e.g. 28095200 is 7:48:15.200 am), and I want to mak

4条回答
  •  庸人自扰
    2020-12-01 05:29

    First represent the epoch of the millisecond time as a date (usually 1/1/1970), then add your millisecond time divided by the number of milliseconds in a day (86400000):

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

    If your cell is properly formatted, you should see a human-readable date/time.

提交回复
热议问题