Date.getUTCSeconds

協定世界時の秒を返します。

構文

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

例文

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

関連記事

スポンサーリンク

QUARTER関数 四半期を求める

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

上に戻る