Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jon
 
Posts: n/a
Default how do I convert utc to a readable time format?

I have a spreadsheet full of UTC codes and I want to convernt them to a
standard date time format
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default how do I convert utc to a readable time format?

Just add the hours offset, like

=A1+TIME(6,0,0) for CST

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Jon" wrote in message
...
I have a spreadsheet full of UTC codes and I want to convernt them to a
standard date time format



  #3   Report Post  
Posted to microsoft.public.excel.misc
Jon
 
Posts: n/a
Default how do I convert utc to a readable time format?

Hi Bob

Thanks for that. I probably wasn't too clear on the requirement but the good
news is that I've found a solution. So to convert a UTC format date time eg
1139184300
into something sensible (this format is number of seconds since 1/1/1970) I
used...

=DATE(1970,1,1+(A1/(60*60*24)))+TIME(0,0,MOD(A1,(60*60*24)))

Cheers

Jon

"Bob Phillips" wrote:

Just add the hours offset, like

=A1+TIME(6,0,0) for CST

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Jon" wrote in message
...
I have a spreadsheet full of UTC codes and I want to convernt them to a
standard date time format




Reply
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
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Convert data into standard military time format geog Excel Discussion (Misc queries) 2 December 12th 05 07:46 PM
Excel should format time down to the hundredth/sec. John Krick Excel Discussion (Misc queries) 3 November 28th 05 09:23 PM
convert time imported as text to time format for calculations batfish Excel Worksheet Functions 3 October 27th 05 11:24 PM
convert number to time format? JLHORMAN Excel Discussion (Misc queries) 1 May 26th 05 06:38 PM


All times are GMT +1. The time now is 12:51 AM.

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

About Us

"It's about Microsoft Excel"