<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                | JScript? | [語言參考](#) | |-----|-----| # getUTCSeconds 方法 返回 **Date** 對象中用[全球標準時間 (UTC)](#)表示的秒鐘值。 `*dateObj.***getUTCSeconds()**` 必選項 *dateObj* 參數為 **Date** 對象。 #### 說明 要獲得用[本地時間](#)表示的秒鐘數,請使用 **getSeconds** 方法。 **getUTCSeconds** 方法返回一個處于 0 到 59 之間的整數,這個整數表示相應的 **Date** 對象中的秒鐘數。在下面兩種情況下返回值為 0:在當前的一分鐘中所經過的時間短于 1 秒鐘,或者在創建 **Date** 對象的時候沒有將時間保存到該對象中。而為了確定究竟屬于哪種情況,唯一的方法就是同時檢查分鐘和小時值是否為 0。如果這兩個值也都是 0,那么幾乎可以確定是沒有將時間保存到 **Date** 對象中。 #### 示例 下面這個例子說明了 **getUTCSeconds** 方法的用法。 ~~~ function UTCTimeDemo(){ ???var d, s = " ~~~ 當前 ~~~ UTC ~~~ 時間為 ~~~ : "; ~~~ ~~~ ???var c = ":"; ~~~ ~~~ ???d = new Date(); ~~~ ~~~ ???s += d.getUTCHours() + c; ~~~ ~~~ ???s += d.getUTCMinutes() + c; ~~~ ~~~ ???s += d.getUTCSeconds() + c; ~~~ ~~~ ???s += d.getUTCMilliseconds(); ~~~ ~~~ ???return(s); ~~~ ~~~ } ~~~ #### 要求 [版本 3](#) #### 請參閱 [Date 對象的方法](#) | [getSeconds 方法](#) | [setSeconds 方法](#) | [setUTCSeconds 方法](#) 應用于: [Date 對象](#) [? 2000 Microsoft Corporation 版權所有。保留所有權利。使用規定。](#)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看