LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
misty1
 
Posts: n/a
Default Need help: convert seconds to date and time


Need help converting cell contents from seconds to a date and time.
File was exported from Active Directory into a CSV file. Other date
fields display date and time, i.e. 20041029043416.0Z. All of the cells
in the column for last logon displays an exponential number i.e.
1.27771E+17. When this cell is accessed with mouse or when copied and
pasted, 127770982728624000 is displayed. After searching the Internet
on converting seconds to date, I found this formula but am not sure how
to use it on the cells in the column for last logon.
Set cell format to:
Date, type = y/m/yy hh:mm
Set cell function to:
=unixdatetime /(60*60*24)+DATE(1970,1,1)
This will retun date and time

I would appreciate a step by step process on how to convert seconds to
date and time using the example: 127770982728624000.
Thanks in advance for your assistance.


--
misty1
------------------------------------------------------------------------
misty1's Profile: http://www.excelforum.com/member.php...o&userid=29112
View this thread: http://www.excelforum.com/showthread...hreadid=488299

 
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
Using VLOOKUP with a Date and Time Charles Excel Discussion (Misc queries) 4 September 20th 05 06:38 PM
How to convert DATE and TIME to text ice_pack Excel Worksheet Functions 3 August 15th 05 10:30 AM
convert interval to various separate date , time, hr, minutes Todd F. Excel Worksheet Functions 4 July 12th 05 07:25 PM
Convert date to length of time in months from set date MJUK Excel Worksheet Functions 1 March 19th 05 06:31 PM
how do I convert a date and time column to a time column thdorsky2 Excel Worksheet Functions 1 March 4th 05 08:49 PM


All times are GMT +1. The time now is 11:44 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"