close

Are there any Excel functions available to convert Unix time (seconds since
1/1/1970) to a readable date/tiem? Or does anyone know of a calculation I
can do to convert this type of data to a date/time that is more usable?

I can find converters on the web, but I need a function or macros within
excel.

Thanks

If your Unix time is in cell A1, then =A1/(24*60*60) DATE(1970,1,1) should
convert it; you'll have to apply a Date/Time format to the result.
--Bruce
(BTW the division by 24*60*60 is because '1' represents a day in Excel.
Also, I've interpreted your post to mean that Unix time started at 12:00:00am
on 1/1/70).

quot;Emilyquot; wrote:

gt; Are there any Excel functions available to convert Unix time (seconds since
gt; 1/1/1970) to a readable date/tiem? Or does anyone know of a calculation I
gt; can do to convert this type of data to a date/time that is more usable?
gt;
gt; I can find converters on the web, but I need a function or macros within
gt; excel.
gt;
gt; Thanks

bpeltzer wrote...
gt;If your Unix time is in cell A1, then =A1/(24*60*60) DATE(1970,1,1) should
gt;convert it; you'll have to apply a Date/Time format to the result.
gt;--Bruce
gt;(BTW the division by 24*60*60 is because '1' represents a day in Excel.
gt;Also, I've interpreted your post to mean that Unix time started at 12:00:00am
gt;on 1/1/70).

Unix epoch time is supposed to be UTC (GMT), so time zone adjustment
may be needed as well.

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 software 的頭像
    software

    software

    software 發表在 痞客邦 留言(0) 人氣()