ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how do I convert utc to a readable time format? (https://www.excelbanter.com/excel-discussion-misc-queries/92812-how-do-i-convert-utc-readable-time-format.html)

Jon

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

Bob Phillips

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




Jon

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






All times are GMT +1. The time now is 10:38 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com