convert unix epoch seconds to yyyy:mm:dd in excel

R

Ron Rosenfeld

how do i convert unix epoch seconds to yyyy:mm:dd in excel

unix epoch seconds (UES) = number of seconds since 1 jan 1970
Excel stores time as days + fractions of a day.
Number of seconds in a day = 60*60*24 = 86400

So to convert:

UES/86400 + date(1970,1,1)

and format as yyyy:mm:dd

--ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top