0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

GMTとJST,UTCについて

Last updated at Posted at 2020-07-29

はじめに

以前受けた会社の研修で標準時についての話が出た際に、理解をそのままにしてしまったので振り返り。

GMT

Greenwich Mean Time。ロンドン郊外にあるグリニッジ天文台での時間。

UTC

Universal Time, Coordinated 協定世界時のこと。
現在、インターネットに接続されたサーバの多くはUTCを使用している。
Coordinaは「調整された」という意味で、セシウム原子時計を基準としており、GMTの天文台での観測によるズレを修正した時刻。
なので時刻はGMTとほとんど同じみたいですが、調整された時刻がUTCとなります。

JST

Japan Standard Time。日本標準時のこと。大体UTCから9時間の差異。

それぞれグローバル関数で時刻を取得する場合はタイムゾーンを指定をしたほうが確実な値が取れます。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?