Date.toUTCString

UTC(協定世界時)を返します。

構文

日付オブジェクト.toUTCString()

例文

<html>
 <head>
  <title>Date.toUTCString</title>
</head>
 <body>
  <script type="text/javascript"><!--
  dateObj = new Date();
  gmt = dateObj.toUTCString();
  document.write(gmt);
  // --></script>
 </body>
</html>

関連記事

スポンサーリンク

locateデータベースの更新

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る