View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Rosenfeld Ron Rosenfeld is offline
external usenet poster
 
Posts: 5,651
Default convert unix epoch seconds to yyyy:mm:dd in excel

On Mon, 21 Dec 2009 23:26:01 -0800, teamsiems
wrote:

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