how do I convert utc to a readable time format?

J

Jon

I have a spreadsheet full of UTC codes and I want to convernt them to a
standard date time format
 
B

Bob Phillips

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)
 
J

Jon

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top