엑셀 UTC 변환 - egsel UTC byeonhwan

Brian lives in Australia and needs to convert a UTC time into his local time. Problem is, he doesn't know how to go about doing it.

UTC is an abbreviation for Coordinated Universal Time. (Yes, I know it looks like the abbreviation letters are out of order. They are; this is why it isn't an acronym. The abbreviation is—believe it or not—based on a political compromise.) UTC is equivalent to International Atomic Time with leap seconds added at irregular intervals to compensate for the Earth's slowing rotation. UTC is never out of synch with GMT (Greenwich Meridian Time) by more than nine tenths of a second, so the two (UTC and GMT) are virtually equivalent in common usage.

Because of this, all you need to do to convert from UTC to a local time is to figure out how many hours your time varies from GMT. There are any number of Websites you can visit to determine such information; the following is an example of one you can use. (Just click a city near you that you know is on the same time zone as you, then look at the resulting time to see how many hours different you are from GMT.)

http://www.timeanddate.com/worldclock/

If you are near Sydney, Australia, you can see that your local time is ten hours ahead of GMT. This means that to determine the local time if you know UTC, all you need to do is add ten hours to that time. If the UTC is in cell B3 in Excel's date and time format, then you could use either of these formulas:

=B3 + TIME(10,0,0)
=B3 + (10 / 24)

You should understand that these formulas don't account of Daylight Savings Time. If you live in an area that implements some sort of time adjustment scheme (such as DST), then you will need to adjust your formulas accordingly. This means that if you are near Sydney you need to figure out when DST starts and ends, and if you are currently affected by DST you will need to add eleven hours to your UTC value.

You can find more information about adjusting local times to GMT (or, if you will, UTC) by visiting this tip:

And it worked in giving me the number I was looking for.  However, although it gave me the number, I assume it was in a format that I couldn't use.  I decided to use the Format Number function to put the number into a Text?? format.

카테고리 없음

엑셀에서 unixtime 시간 변환하기

KUO88 2017. 10. 12. 09:25

Unix(ms)인 경우 시간값에 1/1000을 해야 함

=A1/86400 + 365*70 + 19 + 9/24


엑셀 UTC 변환 - egsel UTC byeonhwan



엑셀 UTC 변환 - egsel UTC byeonhwan


엑셀 UTC 변환 - egsel UTC byeonhwan


참고로 엑셀에서 unix time을 변환해서 셀 서식을 위와 같이 변경하면 로컬 시스템의 UTC 설정이 적용되어 나타난다 (UTC+9:00)

공유하기

게시글 관리

구독하기로깅

저작자표시 비영리 변경금지

태그

Excel, unixtime

Secret

댓글

댓글달기

엑셀 UTC 변환 - egsel UTC byeonhwan

서버나 컴퓨터에서 시간 생성은 주로 UTC 시간으로 1970년 1월 1일을 기준으로 몇 초가 흘렀는지를 표현하는 EPOCH time이라고 하는 것으로 나타냅니다. 

이 시간은 컴퓨터에서 각 사용자의 시간에 맞추어서 변환해서 표현하게 되는데

엑셀로 받아들인 수많은 UTC 시간으로 표현되어 있는 엄청난 데이터가 눈에 팍팍 안 들어와서 엑셀로 바꾸어서 보려구요.

=(((G2+(9*3600))/86400)+25569)

  • G2 = 참조셀
  • 9 = Timezone Offset (우리 나라가 +9시간)
  • 3600 = 1시간은 3600초. 우리나라 +9시간을 보상하기 위해서
  • 86400 = 일년은 
  • 25569 = Excel은 1970년 1월 1일을 기준으로 삼지 않고 1900년 1월 1일을 기준을 삼네요. 보상 값입니다.

그렇게 바꾸고 나서 셀 서식에서 원하는 날짜나 시간 형식으로 표현하면 됩니다.

저는 

yyyy”-“mm”-“d h:mm;@

로 설정해서 봤습니다.


역시 훨씬 눈에 잘 들어오네요.. ^^

About the author

파파존스

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Comment *

Name *

Email *

Website

Save my name, email, and website in this browser for the next time I comment.

Δ

엑셀 UTC 변환 - egsel UTC byeonhwan


서버나 컴퓨터에서 시간 생성은 주로 UTC 시간으로 1970년 1월 1일을 기준으로 몇 초가 흘렀는지를 표현하는 EPOCH time이라고 하는 것으로 나타냅니다. 

이 시간은 컴퓨터에서 각 사용자의 시간에 맞추어서 변환해서 표현하게 되는데

엑셀로 받아들인 수많은 UTC 시간으로 표현되어 있는 엄청난 데이터가 눈에 팍팍 안 들어와서 엑셀로 바꾸어서 보려구요.


=(((G2+(9*3600))/86400)+25569)

  • G2 = 참조셀
  • 9 = Timezone Offset (우리 나라가 +9시간)
  • 3600 = 1시간은 3600초. 우리나라 +9시간을 보상하기 위해서
  • 86400 = 일년은 
  • 25569 = Excel은 1970년 1월 1일을 기준으로 삼지 않고 1900년 1월 1일을 기준을 삼네요. 보상 값입니다.

그렇게 바꾸고 나서 셀 서식에서 원하는 날짜나 시간 형식으로 표현하면 됩니다.

저는 

yyyy"-"mm"-"d h:mm;@

로 설정해서 봤습니다.


역시 훨씬 눈에 잘 들어오네요.. ^^

공유하기

게시글 관리

구독하기Dr.Lee's Blog..

저작자표시 비영리 동일조건

  • 카카오스토리
  • 트위터
  • 페이스북

'Engineer's world > etc' 카테고리의 다른 글

모토로라 번들 SD카드 클래스4가 SanDisk 클래스2보다도 느리다  (2)2011.03.24노키아폰에서 한글 성경 UTF-8 버전으로 보세요  (48)2010.04.27노키아 #5800xm 로밍해서 미국서 유용하게 쓰고 있는 어플..  (1)2010.03.07노키아 책상형 충전기 개조, 24핀 표준충전기와 USB 충전도 가능  (8)2010.02.22