PC Review


Reply
Thread Tools Rate Thread

Convert Unix timestamp to Readable Date/time

 
 
=?Utf-8?B?RW1pbHk=?=
Guest
Posts: n/a
 
      26th Jan 2006
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
 
Reply With Quote
 
 
 
 
=?Utf-8?B?YnBlbHR6ZXI=?=
Guest
Posts: n/a
 
      26th Jan 2006
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).

"Emily" wrote:

> 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

 
Reply With Quote
 
Harlan Grove
Guest
Posts: n/a
 
      26th Jan 2006
bpeltzer wrote...
>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).


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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
converting a hex timestamp to a readable date/time Faye Microsoft Access Queries 1 30th Apr 2009 12:02 AM
Convert unix time to date/time in Access 2003 for a linked tabel Kevin Joyce Microsoft Access Getting Started 5 7th Oct 2008 08:18 PM
Convert Unix Timestamp to Access date nms Microsoft Access VBA Modules 1 29th Jan 2008 04:57 PM
Convert Unix column to date and time in 2 columns =?Utf-8?B?TGl6Qg==?= Microsoft Access Queries 2 2nd May 2007 06:11 PM
Convert from Unix time to Access Date/Time? Marty Christion Microsoft Access 3 11th May 2006 06:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:22 AM.