LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
Pete
 
Posts: n/a
Default timestamps in excel

Excel dates work on a similar principal, but they measure day in terms
of a reference date of 31st December 1899 (day 0), so you will have to
add the number of days that your reference date represents in Excel.
Enter 1/1/70 into a cell and format it as a number - this will show you
that it represents 25569 days, so this is what you will have to add to
your elapsed days to make it into Excel dates.

Times are represented as fractions of a 24 hour day, so to convert your
seconds you will have to divide by 60, by 60 again and by 24. So, if
your timestamp is in cell A1, this formula in B1 should do the trick:

=A1/60/60/24 + 25569

Format the cell as Date in the appropriate style.

Hope this helps.

Pete

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Group" function very slow with Excel 2003 :( ... While very quick with Excel2000 :O) Alain79 Excel Discussion (Misc queries) 4 June 14th 05 07:34 AM
Stop Excel Rounding Dates leinad512 Excel Discussion (Misc queries) 1 April 20th 05 04:19 PM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM
Excel error - Startup (and Acrobat PDFMaker) gxdata Setting up and Configuration of Excel 0 February 4th 05 03:44 AM
Excel 2002 and 2000 co-install. Control Which Starts ? cnuk Excel Discussion (Misc queries) 2 January 17th 05 08:07 PM


All times are GMT +1. The time now is 03:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"